Hi, just starting C#.
Trying to compile from the C prompt and get an error, any ideas?
C:\>csc /debug hello.cs
'csc' is not recognized as an internal or external command,
operable program or batch file.
Printable View
Hi, just starting C#.
Trying to compile from the C prompt and get an error, any ideas?
C:\>csc /debug hello.cs
'csc' is not recognized as an internal or external command,
operable program or batch file.
did u start the .net dos prompt or a normal dos one??
u need to run it from the framewor folder in the start menu or it does not register the .net programs like the compilers.
I think there is an option when isntalling the framework to register the locations of those files so that you can run csc from a regular prompt in any directory, because on my machine I just use a regular prompt and I am able to run the tools from anywhere.