mweinberger
03-27-2006, 02:55 PM
Hi All,
My build machine has both VS2003 and VS2005 installed. I'm trying to build a C++ based solution using VBPro, but the product tries to use VS2003 to build and not VS2005 as it should.
I set one of the macro variables to VS2005 as you can see below, but that didn't do anything for my current problem. Which other variable/macro should I touch and to what?
Thanks in advance,
Martin
<macro name='DEVENV_NET'>
<description>Microsoft Visual Studio .NET command-line build tool</description>
<value>"%DEVSTUDIO_NET_DIR%\Common7\IDE\devenv.com"</value>
</macro>
<macro name='DEVSTUDIO_NET_DIR'>
<description>Microsoft Visual Studio .NET installation path</description>
<value>%MSVSTUDIO_2005%</value>
</macro>
<macro name='MSVSTUDIO_2003'>
<description>Microsoft Visual Studio 2003 root folder</description>
<value>C:\Program Files\Microsoft Visual Studio .NET 2003</value>
</macro>
<macro name='MSVSTUDIO_2005'>
<description>Microsoft Visual Studio 2005 root folder</description>
<value>C:\Program Files\Microsoft Visual Studio 8</value>
</macro>
My build machine has both VS2003 and VS2005 installed. I'm trying to build a C++ based solution using VBPro, but the product tries to use VS2003 to build and not VS2005 as it should.
I set one of the macro variables to VS2005 as you can see below, but that didn't do anything for my current problem. Which other variable/macro should I touch and to what?
Thanks in advance,
Martin
<macro name='DEVENV_NET'>
<description>Microsoft Visual Studio .NET command-line build tool</description>
<value>"%DEVSTUDIO_NET_DIR%\Common7\IDE\devenv.com"</value>
</macro>
<macro name='DEVSTUDIO_NET_DIR'>
<description>Microsoft Visual Studio .NET installation path</description>
<value>%MSVSTUDIO_2005%</value>
</macro>
<macro name='MSVSTUDIO_2003'>
<description>Microsoft Visual Studio 2003 root folder</description>
<value>C:\Program Files\Microsoft Visual Studio .NET 2003</value>
</macro>
<macro name='MSVSTUDIO_2005'>
<description>Microsoft Visual Studio 2005 root folder</description>
<value>C:\Program Files\Microsoft Visual Studio 8</value>
</macro>