Another Newibie Post: Path to csc.exe

  • Thread starter Thread starter John Adcock
  • Start date Start date
J

John Adcock

Hello, Everyone!

My Visual Studio IDE seems to be working properly but command line
compilation won't work because csc.exe is not in the path statement.

When I try to envoke the compiler (with a "csc filename.cs", from within the
directory where the source file is located), I get an error message: ""csc"
is not recognized as an internal or external command, operable program or
batch file".

I have three copies of csc.exe on my XP Pro SP2 system thus:

C:\WINDOWS\ServicePackFiles\i386\csc.exe 8/3/2004 9:11 PM
C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\csc.exe 7/15/2004 4:34 AM
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\csc.exe 7/15/2004 11:23 AM

The .NET Framework SDK is installed on the system.
The Platform SDK for Windows XP SP2 is installed on the system.

Doesn't the .NET Framework SDK put the path to the (correct version of)
csc.exe in the path statement?


Thanks in advance for any comments,

John Adcock
 
Back
Top