VSNet2005 Command Here on a machine without VS.Net 2005

Ever want to get the VSNet2005 Command Here to work on a machine that doens'nt have VS.Net 2005 on it?  Today I had a machine that has .Net 2.0 installed but is still a development machine using vs net 2003 (with no license for vs 2005 coming anytime soon to it).  Since I had .Net 2.0 on the machine, I wanted to run a utility that is written in 2.0 ... but really didn't want to type the path - so of course the first thing I thought of was the Command Here ... but the machine only had the vs 2003 command prompt installed.  So I set out on a small detour to find a way to get the vs 2005 command here to work (BTW: it installs just fine - just won't do what you want it to.)

Turns out all you need is the .Net framework sdk and a small tweak of the vsvars32.bat file from the vs 2003 version to get things working fine (on my machine anyways).  In the bat file, I just more or less changed anything that said .Net 2003 to 8 (its now Visual Studio 8) and fixed the sdk directory to point to the stand alone sdk install directory.

So if you find yourself in the same situation, just download the VSNet2005 Command Here file and install it (right click and choose install), then under the Program Files\Microsoft Visual Studio 8\Common7 directory, make sure there is a sub directory named "Tools" and then add this editted version of the vsvars32.bat file to that directory (C:\Program Files\Microsoft Visual Studio 8\Common7\Tools) and you should be all set.  Oh yea, don't forget - you will need the .net framework sdk on the machine :)

posted on Thursday, November 09, 2006 8:22 PM

Feedback

No comments posted yet.

Post Comment

Title  
Name  
Url
Comment   
Please enter the following code into the box below to stop spammers

  
Enter Code Here *