How to Setup Environment Variable for .Net?

Two options to setup Environment Variable in .Net :

* The first is to run the batch file %Microsoft Visual Studio 2005%\Common7\Tools\vcvars32.bat from the command prompt before running csc, where %Microsoft Visual Studio 2005 is the folder to which Visual Studio 2005 has been installed.
* The second way is to use the Visual Studio 2005 command prompt instead of the usual command prompt windows.
We will find the Visual Studio .Net command prompt in the Start menu, under

Programs -> Microsoft Visual Studio 2005 -> Microsoft Visual Studio Tools.

It is simply a command prompt window that automatically runs vcvars32.bat when it opens.


No responses found. Be the first to comment...

  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name: