Master | Release |
---|---|
Welcome to the C# extension for Visual Studio Code! This preview provides the following features inside VS Code:
- Lightweight development tools for .NET Core.
- Great C# editing support, including Syntax Highlighting, IntelliSense, Go to Definition, Find All References, etc.
- Debugging support for .NET Core (CoreCLR). NOTE: Mono and Desktop CLR debugging is not supported.
- Support for project.json and csproj projects on Windows, macOS and Linux.
The C# extension is powered by OmniSharp.
- Support for C# 7.1.
- Support for latest .NET Core 2.0 preview.
- Improvements to our support for Xamarin projects.
- Several improvements to code actions, plus several new code fixes and refactorings.
- The completion list now suggests variable names as you type.
- Many other bug fixes
See our change log for all of the updates.
-
Currently, the C# debugger officially supports the following operating systems:
- Windows (64-bit only)
- macOS 10.12 (Sierra) and newer
- Ubuntu 14.04+ (and distros based on it)
- Debian 8.7+
- Red Hat Enterprise Linux (RHEL) / CentOS / Oracle Linux 7.3+
- Fedora 23 / 24 / 25
- OpenSUSE 42.2+
This list is currently the same as the x64 .NET Core 2.0 operating systems (see .NET Core list). Note that other Linux distributions will likely work as well as long as they include glibc, OpenSSL 1.0, and libunwind.
Please file any issues at https://github.com/OmniSharp/omnisharp-vscode/issues.
The C# extension now supports basic debugging capabilities! See http://aka.ms/vscclrdebugger for details.
First install:
- Node.js (newer than 4.3.1)
- Npm (newer 2.14.12)
To run and develop do the following:
- Run
npm i
- Run
npm run compile
- Open in Visual Studio Code (
code .
) - Optional: run
npm run watch
, make code changes - Press F5 to debug
To test do the following: npm run test
or F5 in VS Code with the "Launch Tests" debug configuration.
The Microsoft C# extension is subject to these license terms. The source code to this extension is available on https://github.com/OmniSharp/omnisharp-vscode and licensed under the MIT license.