RSS 2.0
 Sunday, February 10, 2008

I know. I know. This doesn't sound like a very interesting post, but it saved me time, and hopefully it can save you some too.

When you install Visual Studio 2008, Microsoft creates a "Visual Studio 2008 Command Prompt" shortcut, under that program group.

image

I like to take this shortcut and drop it on my Quick Launch toolbar:

image

The problem is that when you install the Team Foundation Server Power Tools (or other new command line utilities) you need to put them in the path.

Well, if you look at the file the shortcut calls, it's vcvarsall.bat, but don't bother editing that file because it calls vcvars32.bat, but don't bother editing that file, because it calls vsvars32.bat. If you go ahead and edit that file, you can find where the PATH is getting set, and add the Power Tools path to it:

@set PATH=C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN;C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools;C:\WINDOWS\Microsoft.NET\Framework\v3.5;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Program Files\Microsoft Visual Studio 9.0\VC\VCPackages;C:\Program Files\Microsoft Team Foundation Server 2008 Power Tools;%PATH%

Sunday, February 10, 2008 3:01:11 PM (Mountain Standard Time, UTC-07:00)  #    Comments [0] -
SQLblog | Team System | Visual Studio 2008
Archive
<July 2008>
SunMonTueWedThuFriSat
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2008
Richard Hundhausen
Sign In
Statistics
Total Posts: 687
This Year: 23
This Month: 2
This Week: 0
Comments: 478
Themes
Pick a theme:
All Content © 2008, Richard Hundhausen
DasBlog theme 'Business' created by Christoph De Baene (delarou)