myfunnyfella
myfunnyfella

Reputation: 1467

How do I configure VSC to use coderunner and avoid getting "'scriptcs' is not recognized "

I'm having issues getting CSharp code to run in visual studio using CodeRunner. Anyone know how to fix this error in the attached image?

enter image description here

I ALREADY know how to execute the prg using the terminal & DOTNET RUN command but I really would like to use coderunner.

Upvotes: 3

Views: 1367

Answers (1)

Well this is an old thread but i just figure out the answer so i think it may help someone else

you need to add

"code-runner.executorMap": { "csharp": "scriptcs -script" }

at your settings.json

in debian at least and i think in most linux based systems you will find it at ~/.config/Code/User

Upvotes: 2

Related Questions