I ran vcvars32.bat, but I am unable to run csc from the
command line.
Docs do not indicate how to troubleshoot.
can someone help?
Martha[MSFT] - 15 Nov 2003 03:03 GMT
What error are you getting?
Here is a word of caution from an article on MSDN:
Caution: VCVARS32.bat can vary from machine to machine. Do not replace a
missing or damaged VCVARS32.bat file with a VCVARS32.bat from another
machine. Rerun setup to replace the missing file.
Did you do that? Replace the batch file I mean?
For more information about vcvars32.bat, see the following Knowledge Base
article:
Q248802 : Vcvars32.bat Generates Out of Environment Message
Hope this helps.
> I ran vcvars32.bat, but I am unable to run csc from the
> command line.
> Docs do not indicate how to troubleshoot.
> can someone help?
Lloyd Dupont - 16 Nov 2003 07:34 GMT
csc is in C:\Windows\Microsoft.NET\v1.1.0.4372
check it for yourself as you windows directory ould have an other name & I'm
not sure of the version number.
once you found te directory, add it to the system PATH
> I ran vcvars32.bat, but I am unable to run csc from the
> command line.
> Docs do not indicate how to troubleshoot.
> can someone help?
Dino Chiesa [Microsoft] - 17 Nov 2003 20:01 GMT
small correction
the standard location for csc.exe on a machine with .NET Fx v1.1 is:
c:\windows\Microsoft.NET\Framework\v1.1.4322\csc
> csc is in C:\Windows\Microsoft.NET\v1.1.0.4372
Evan Briones - 17 Nov 2003 06:36 GMT
The easiest way to fix this problem is to set the enviromental variable
manually.
1. Righ click My Computer or Press windowkey + break
2. Click on advanced tab
3. Click enviromental variable button
4. Under System Variables Select Path and Click Edit
5. Add SemiColon After Last Variable unless already provided
6. Type C:\Windows or WINNT\Microsoft.net\framework\ (Note: windows
or winnt is system folder your machine is using)
7. Press WindowsKey + R or go to Start then click Run
8. Type C:\Windows or WINNT\Microsoft.Net\Framework\
9. Look up the version number and copy or write it into the enviromental
variable.
10. Save and Exit
Test Compiler
1. Go to start then click Run or windowskey + r
2. Type cmd or command operating specific.
3. Type csc or vbc and now you you can command line compile from any
directory
> I ran vcvars32.bat, but I am unable to run csc from the
> command line.
> Docs do not indicate how to troubleshoot.
> can someone help?