VSCode-Anywhere
  • Introduction
  • Installation
    • Requirements
      • Windows requirements
      • Linux requirements
      • MacOS requirements
    • Quickstart
    • Advanced
      • Windows installation
      • Linux installation
      • MacOS installation
  • Modules
    • Module installation
    • Module update
    • Module settings
      • Global settings
        • brew settings
        • chocolatey settings
        • env settings
        • msys2 settings
        • nix settings
        • scoop settings
        • vscode settings
        • zeal settings
    • Modules list
      • Ansible
      • Bash
      • C / C++
      • C#
      • Custom
      • Deepcode
      • Docker
      • Fonts
      • Git
      • Go
      • HTML
      • Java
      • JavaScript / TypeScript
      • Markdown
      • Perl
      • PHP
      • Platformio
      • PowerShell
      • Puppet
      • Python2
      • Python3
      • Remote
      • Rest
      • ReStructuredText
      • Ruby
      • Saltstack
      • VSCode
    • Custom modules
  • Structure
    • apps
    • conf
      • saltstack
        • conf-offline
        • conf
        • pillar
        • states
    • tools
      • env
      • install
      • link
      • update
      • vscode
      • vscode-anywhere
  • Tutorials
    • Youtube tutorials
  • Release notes
    • V2
      • V2.0.0
    • V1
  • FAQ
Powered by GitBook
On this page
  • About
  • Installation
  • Requirements
  • VSCode
  • VSCode extensions
  • VSCode settings
  • VSCode keybindings
  • Software
  • Windows software
  • Linux software
  • MacOS software
  • Documentation
  • VSCode-Anywhere
  • Environment
  • Specific settings

Was this helpful?

  1. Modules
  2. Modules list

C#

PreviousC / C++NextCustom

Last updated 4 years ago

Was this helpful?

About

is a general-purpose, multi-paradigm programming language encompassing strong typing, lexically scoped, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines.

Installation

vscode-anywhere:
    csharp:
        enabled: True

You don’t need to install anything, all is already include in VSCode-Anywhere. This video gives just an example of how to start a new project.

Requirements

No requirements.

VSCode

VSCode extensions

ms-vscode.csharp

  • Great C# editing support, including Syntax Highlighting, IntelliSense, Go to Definition, Find All References, etc.

  • Debugging support for .NET Core (CoreCLR)

Following your OS, please read (note that all requirements are already installed by VSCode-Anywhere):

The first time you open a cs file, this extension will download its prerequisites.

wghats.vscode-nxunit-test-adapter

VSCode settings

Windows settings

{
    "nxunitExplorer.nunit": "C:\\VSCode-Anywhere\\apps\\scoop\\apps\\nunit-console\\current\\nunit3-console.exe"
}

Assuming you have installed in the default directory C:\VSCode-Anywhere.

Linux settings

{
    "nxunitExplorer.nunit": "/home/myuser/VSCode-Anywhere/apps/vscode-anywhere/home/.nix-profile/bin/nunit3-console"
}

Assuming you have installed in the directory /home/myuser/VSCode-Anywhere.

VSCode keybindings

Software

Windows software

scoop

Linux software

nix

MacOS software

brew

nix

Documentation

VSCode-Anywhere

Environment

Window environment

DOTNET_ROOT: C:\VSCode-Anywhere\apps\scoop\apps\dotnet-sdk\current
MSBuildSDKsPath: C:\VSCode-Anywhere\apps\scoop\apps\dotnet-sdk\current\sdk\<version>\Sdks

<version> is the version of the dontnet-sdk package.

Specific settings

No specific settings.

Change enable from False to True in the csharp section (cf ).

You can also take a look at the .

For more details read the .

This provides the following features inside VS Code:

Lightweight development tools for .

The C# extension is powered by .

IntelliSense

This allow to run your Nunit or Xunit test for Desktop .NET Framework or Mono.

No .

module installation
VSCode-Anywhere csharp module configuration
official documentation
extension
.NET Core
OmniSharp
Windows
Linux
MacOS
extension
keybindings
dotnet-sdk
scriptcs
nunit-console
nixpkgs.dotnetPackages.NUnitConsole
nixpkgs.dotnet-sdk_3
scriptcs
nixpkgs.dotnetPackages.NUnitConsole
nixpkgs.dotnet-sdk_3
NET_Framework
Start a new C# project
C#