#1
|
|||
|
|||
MSBuild fails
I have a Visual Studio 2012 solution which contains C# and C++ (unmanaged) projects. The solution builds fine in Visual Studio but fails when using Visual Build.
My problem seems to be like: http://www.dovetailsoftware.com/blog...pen-input-file On my machine I have both Visual Studio 2010 and 2012 installed. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows indicates that v7.0A is the default though I have v7.0A, v7.1A, and v8.0A installed. I am thinking that I have to tell the "Make VS 2012" build action to use v8.0A because the C++ code is using the 110 toolset? I don't want to make changes at a system level because all other C++ projects have to run on XP and use the 100 toolset. |
#2
|
|||
|
|||
If VS/msbuild really depends on the registry setting, you may need to change the registry setting within the build (and change back after building VS2012 solutions).
Another possibility is to specify the VS2012 environment by running vcvars32.bat/vsvars32.bat beforehand (see the Advanced tab, Command to run before main command field): http://www.kinook.com/VisBuildPro/Ma...dvancedtab.htm Also see http://www.kinook.com/Forum/showthread.php?t=4500 |
#3
|
|||
|
|||
My mistake
Nevermind, I sorted myself out.
I had incorrectly checked in dlldata.c into TFS which marked the file as R/O. This file was generated and should not have been checked in. |
#4
|
|||
|
|||
Thanks
Thanks for the reply. That was useful information for me.
You guys always do a great job providing rapid and helpful support in the forums. Well done! |
|
|