Cannot run C# script


#1

Hello,

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?


#2

You may want to change your %PATH%

See also: http://stackoverflow.com/questions/3425515/compiling-c-sharp-code-from-the-command-line-gives-error


#3

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


#4

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.