-
Update VS Code settings to treat
.csx
as.cs
win: C:\Users\username\AppData\Local\Code\app-0.1.0\resources\app\plugins\vs.language.csharp\ticino.plugin.json os x: \AppData\Local\Code\app-0.1.0\resources\app\client\vs\languages\vs.language.csharp\ticino.plugin.json
There is an extensions array there tht you should modify.
-
Get
omnisharp-roslyn
and buildgit clone https://github.com/OmniSharp/omnisharp-roslyn.git build.sh / build.cmd
-
Create environment variable
OMNISHARP
with value:win: <path-to-omnisharp-roslyn>\artifacs\build\omnisharp\omnisharp.cmd os x: <path-to-omnisharp-roslyn>\artifacs\build\omnisharp\omnisharp
-
Copy
project.json
from<path-to-omnisharp-roslyn>\src\Omnisharp
to the folder where you have your scripts. This is currently necessary to force VS Code to load up omnisharp. You can now open the folder with scripts in VS Code and you are good to go.