Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] Third Party Tools (https://www.kinook.com/Forum/forumdisplay.php?f=3)
-   -   MSBuild fails (https://www.kinook.com/Forum/showthread.php?t=5127)

trailway 02-01-2013 10:50 AM

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.

kinook 02-01-2013 11:04 AM

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

trailway 02-01-2013 11:06 AM

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.

trailway 02-01-2013 11:24 AM

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!


All times are GMT -5. The time now is 07:30 AM.


Copyright © 1999-2023 Kinook Software, Inc.