Our msbuild builds make use of the VS2008_Path agent parameter. With the latest TeamCity version this variable has been moved to a Configuration Parameter and therefore is not available in msbuild scripts by default. My question is, what's the best practice around making this available as msbuild properties?
My preference would be to create an msbuild property in my script that derives from the VS90COMNTOOLS environment variable, like so:
VS90COMNTOOLS is available on dev machines as VS puts it there at install time, so that's convenient. Or is it better to create a VS2008_Path environment variable or system property in the build config? What's the tradeoffs?