Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / .NET SDK / November 2003

Tip: Looking for answers? Try searching our database.

using csc

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
devmouse - 14 Nov 2003 20:50 GMT
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?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.