3

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.

SSteve
  • 10,550
  • 5
  • 46
  • 72
myfunnyfella
  • 1,357
  • 3
  • 18
  • 25

1 Answers1

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