
For example, lets assume you're running the older Visual Studio 2008 but you also have the latest SDK and/or a later version of Visual Studio is also installed on that same machine.
When any Visual Studio 2008 project is imported into Zeus it will setup the following as the debug make command line (inside the workspace options):
Code: Select all
MsBuild.exe $PDD$PF /t:Build /p:Configuration=Debug /p:OutputPath=./bin/Debug/ /v:m
Code: Select all
Microsoft (R) Build Engine version 4.0.30319.18408
[Microsoft .NET Framework, version 4.0.30319.18444]
Copyright (C) Microsoft Corporation. All rights reserved.
MSBUILD : error MSB4192: The project file "C:\Projects\MyProject.vcproj" is in the ".vcproj" or ".dsp" file format, which MSBuild cannot build directly. Please convert the project by opening it in the Visual Studio IDE or running the conversion tool, or, for ".vcproj", use MSBuild to build the solution file containing the project instead.
To fix this just locate the correct (older) MSBUILD using these commands:
Code: Select all
cd c:\
dir msbuild.exe /s
Code: Select all
Directory of C:\Windows\Microsoft.NET\Framework\v3.5
11/06/2009 07:14 AM 87,888 MSBuild.exe
Code: Select all
C:\Windows\Microsoft.NET\Framework\v3.5\MsBuild.exe $PDD$PF /t:Build /p:Configuration=Debug /p:OutputPath=./bin/Debug/ /v:m
Code: Select all
vcbuild.exe : error VCBLD0004: Project "C:\Projects\MyProject.vcproj" does not contain a configuration called 'Debug|BPC'.
Code: Select all
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
Code: Select all
C:\Windows\Microsoft.NET\Framework\v3.5\MsBuild.exe $PDD$PF /t:Build /p:Configuration=Debug,Platform=Win32 /p:OutputPath=./bin/Debug/ /v:m