VSVARS32.BAT missing from .NET Beta 2?
I may be completely off on this, but when I bring up a Command Prompt I always like to use the "Visual Studio Command Prompt" so my PATH is all setup. Ya ya, I know I can make it default, blah blah. Anyway, the first thing I do is usually dig into Start Menu|All Programs|Microsoft Visual Studio xxxx|Tools and get the Visual Studio Command Prompt and pull it over to the top of the Start Menu.
When messing with Beta 2 while updating chapters for our upcoming ASP.NET 2.0 book, I noticed that my Visual Studio 2005 Command Prompt was complaining about a missing file when I ran it. It was looking for something called vsvarsall.bat or something. Anyway, it doesn't exist. That seems odd that Beta 2 would ship with a broken shortcut...?
At any rate, the good old vsvars32.bat is still in there, deep in the bowels, so I set my Command Prompt to point to:
%comspec% /k ""C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\vsvars32.bat""
and I was back in business.
I'm still left wondering if it was me, something I did, some schmutz in the machine, or a legit oversight. We shall see.
UPDATE: Vote on the bug here if you like.
About Scott
Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.
About Newsletter
http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=c877af66-b7b8-4acc-9de8-7855dbf9e7fc
The workaround states that you should install (part of) Visual C++, but I dug around and found vsvars32 as well :)
Comments are closed.