Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-01-2013, 11:50 AM
trailway trailway is online now
Registered User
 
Join Date: 04-07-2009
Posts: 26
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.
Reply With Quote
  #2  
Old 02-01-2013, 12:04 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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
Reply With Quote
  #3  
Old 02-01-2013, 12:06 PM
trailway trailway is online now
Registered User
 
Join Date: 04-07-2009
Posts: 26
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.
Reply With Quote
  #4  
Old 02-01-2013, 12:24 PM
trailway trailway is online now
Registered User
 
Join Date: 04-07-2009
Posts: 26
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!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 04:32 AM.


Copyright © 1999-2023 Kinook Software, Inc.