PDA

View Full Version : Wrong version of Visual Studio called


Peter Schregle
02-14-2008, 06:19 AM
I have two machines that show different behaviour with the same build file. One machine seems to call the wrong version of Visual Studio.

On both machines both Visual Studio 2005 and 2008 are installed. The Visual Studio solution in question is for 2005.

The machine where it does not work properly has Vista 64bit installed and Visual Build 6.6. Here is an excerpt of the relevant log:

------------------------------------------------------------------------------------

Cleaning configuration 'Debug|Win32'...
Command: C:\Windows\Microsoft.NET\Framework\v3.5\msbuild.ex e C:\_mvIMPACT\tools\stamp_and_sign\stamp_and_sign.v s2005.sln /t:clean /p:Configuration=Debug /p:Platform=Win32
Microsoft (R) Build Engine Version 3.5.21022.8
[Microsoft .NET Framework, Version 2.0.50727.1433]
Copyright (C) Microsoft Corporation 2007. All rights reserved.

Build started 14.02.2008 12:01:27.
Project "C:\_mvIMPACT\tools\stamp_and_sign\stamp_and_sign.v s2005.sln" on node 0 (clean target(s)).
Building solution configuration "Debug|Win32".
vcbuild.exe : error VCBLD0010: Project 'C:\_mvIMPACT\tools\stamp_and_sign\stamp_and_sign. vs2005.vcproj' requires upgrade. Use 'vcbuild /upgrade' or 'devenv /upgrade' to upgrade the project.
Done Building Project "C:\_mvIMPACT\tools\stamp_and_sign\stamp_and_sign.v s2005.sln" (clean target(s)) -- FAILED.

Build FAILED.

------------------------------------------------------------------------------------

The working machine has XP (32 bit) and Visual Build 6.2a:

The relevant log excerpt shows:

------------------------------------------------------------------------------------

Cleaning configuration 'Debug|Win32'...
Command: C:\Windows\Microsoft.NET\Framework\v3.5\msbuild.ex e C:\_mvIMPACT\tools\stamp_and_sign\stamp_and_sign.v s2005.sln /t:clean /p:Configuration=Debug /p:Platform=Win32
Microsoft (R) Build Engine Version 3.5.21022.8
[Microsoft .NET Framework, Version 2.0.50727.1433]
Copyright (C) Microsoft Corporation 2007. All rights reserved.

Build started 14.02.2008 12:01:27.
Project "C:\_mvIMPACT\tools\stamp_and_sign\stamp_and_sign.v s2005.sln" on node 0 (clean target(s)).
Building solution configuration "Debug|Win32".
vcbuild.exe : error VCBLD0010: Project 'C:\_mvIMPACT\tools\stamp_and_sign\stamp_and_sign. vs2005.vcproj' requires upgrade. Use 'vcbuild /upgrade' or 'devenv /upgrade' to upgrade the project.
Done Building Project "C:\_mvIMPACT\tools\stamp_and_sign\stamp_and_sign.v s2005.sln" (clean target(s)) -- FAILED.

Build FAILED.

------------------------------------------------------------------------------------

I have no idea what could be wrong. Can you help?

Peter

kinook
02-14-2008, 07:42 AM
Prior to VBP v6.7, the Make VS.NET / 2005 / 2008 actions used the latest version of MSBuild.exe that was found. With VBP 6.7 and later, they use the version that matches the project or solution file being built (2.0 for VS 2005, 3.5 for VS 2008) if available.