2016-02-18 18:01:23 +03:00
## C# for Visual Studio Code (powered by OmniSharp)
2015-12-03 13:25:00 +03:00
2016-03-24 05:33:57 +03:00
|Master|Dev|
|:--:|:--:|
|[![Master Build Status](https://travis-ci.org/OmniSharp/omnisharp-vscode.svg?branch=master)](https://travis-ci.org/OmniSharp/omnisharp-vscode)|[![Dev Build Status](https://travis-ci.org/OmniSharp/omnisharp-vscode.svg?branch=dev)](https://travis-ci.org/OmniSharp/omnisharp-vscode)|
2016-03-24 05:27:19 +03:00
2016-05-18 19:54:03 +03:00
Welcome to the C# extension for Visual Studio Code! This preview provides the following features inside VS Code:
2016-03-04 04:07:09 +03:00
2016-05-18 19:54:03 +03:00
* Lightweight development tools for [.NET Core ](https://dotnet.github.io ).
* Great C# editing support, including Syntax Highlighting, IntelliSense, Go to Definition, Find All References, etc.
2016-05-18 21:45:27 +03:00
* Debugging support for .NET Core (CoreCLR). NOTE: Mono and Desktop CLR debugging is not supported.
2016-05-18 21:40:24 +03:00
* Support for project.json projects on Windows, OS X and Linux, and csproj projects on Windows.
2016-05-16 20:16:03 +03:00
2016-05-18 19:54:03 +03:00
The C# extension is powered by [OmniSharp ](https://github.com/OmniSharp/omnisharp-roslyn ).
2016-05-16 20:16:03 +03:00
2016-06-29 23:18:09 +03:00
### **Important!** Breaking Changes as of 1.2
2016-05-16 20:16:03 +03:00
2016-06-29 23:18:09 +03:00
* The C# extension now only supports .NET Core 1.0. Please upgrade any RC1 or RC2 projects to the 1.0.0 release build.
2016-06-27 17:13:31 +03:00
* **Support for .csproj projects is partially functional on OS X and Linux.** This will impact anyone doing .csproj development on OS X or Linux (e.g. Unity, Xamarin, etc.). We are working to address this in the near future. However, for now, you can use the [Legacy C# Support extension ](https://marketplace.visualstudio.com/items?itemName=ms-vscode.omnisharp ).
2016-05-18 19:54:03 +03:00
### Found a Bug?
Please file any issues at https://github.com/OmniSharp/omnisharp-vscode/issues.
2016-05-16 20:16:03 +03:00
2016-03-04 04:07:09 +03:00
### Debugging
2016-05-18 19:54:03 +03:00
The C# extension now supports basic debugging capabilities! See http://aka.ms/vscclrdebugger for details.
2015-12-07 11:37:18 +03:00
2016-06-29 23:18:09 +03:00
### What's new in C# extension version 1.2
* Adds debugger support for new Linux versions: Ubuntu 16.04, Fedora 23, openSUSE 13.2, and Oracle Linux 7.1
* Enhanced debug console output: module loads are now output, and there are launch.json options for controlling what is output
* Source file checksum support for breakpoints. This ensures that the debugger only sets breakpoints in code that exactly matches the open document.
* Support for editing the value of variables in the watch and locals window (requires VS Code 1.3)
2016-06-02 03:33:27 +03:00
2016-03-04 04:07:09 +03:00
### Development
2016-05-18 00:56:20 +03:00
First install:
* Node.js (newer than 4.3.1)
* Npm (newer 2.14.12)
2015-12-03 13:25:00 +03:00
To **run and develop** do the following:
2016-02-18 18:01:23 +03:00
* Run `npm i`
* Open in Visual Studio Code (`code .`)
* *Optional:* run `tsc -w` , make code changes (on Windows, try `start node ".\node_modules\typescript\bin\tsc -w"` )
2016-03-03 02:57:31 +03:00
* Press F5 to debug
2016-05-18 19:54:03 +03:00
### License
2016-03-03 02:57:31 +03:00
The Microsoft C# extension is subject to [these license terms ](RuntimeLicenses/license.txt ).
The source code to this extension is available on [https://github.com/OmniSharp/omnisharp-vscode ](https://github.com/OmniSharp/omnisharp-vscode ) and licensed under the [MIT license ](LICENSE.txt ).