Cannot run C# script



I am trying to test a C# script, but whenever I try to run it using the Script package, I get the following error message:

‘csc’ is not recognized as an internal or external command,
operable program or batch file.

Does anyone know how I can fix this issue?


You may want to change your %PATH%

See also:


The link you gave gives you a solution how to compile in cmd, instead of compiling through atom. Big waste of time.


Not at all. You have to be able to compile on the command line in order to compile through Atom, because script dispatches a command line instruction.