OmniSharp-Roslyn is a .NET development platform based on on Roslyn workspaces. It provides project dependencies and language syntax to various IDE and plugins.
OmniSharp-Roslyn is now built with dotnet-cli. It targets both dnxcore50 and dnx451 targets. The dnxcore50 build is self contained, while dnx451 build requires mono (>4.0.1) if it is ran on platform other than Windows.
In addition if you need the HTTP interface and you want to run on Linux, you'll also need to make sure that you have libuv installed.
On Windows:
> git checkout troy/use.dotnet
> ./build.ps1
On Linux / Unix:
$ git checkout troy/use.dotnet
$ ./build.sh
You cand find the output under artifacts/publish/<target framework>/
. The executable is OmniSharp.exe
or OmniSharp
.
Add following setting to your User Settings or Workspace Settings.
Update path to fit your environment
{
"csharp.omnisharp": "C:\\code\\omnisharp-roslyn\\artifacts\\publish\\OmniSharp\\dnxcore50\\omnisharp.exe"
}
Check out the issue tracker https://huboard.com/OmniSharp/omnisharp-roslyn
- As of now, the new DotNet project system works on dnxcore50 target framework only. Pending on this change to go into the build.
Visit https://jabbr.net/#/rooms/omnisharp if you'd like to help out.