Kinook Software Forum

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

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-10-2004, 12:55 AM
gribble gribble is online now
Registered User
 
Join Date: 06-04-2003
Posts: 21
Build Microsoft .NET action and the /rebuild flag

when im building VisualStudio6 projects, i am using a macro in the "additional properties" steps to specify whether i want a full build or incremental. It is a string that is blank for incremental, and is set to "/rebuild" if i want to force a rebuild. (I have the checkbox for force rebuild turned off).


Now when it comes to building VS.NET projects, the problem is i cannot programmatically control the build/rebuild flag with a macro. This is because the commandline to build a .NET project generates the /build "DEBUG|RELEASE|whatever" command as part of the generated command... and tagging a "/rebuild" on the end in the additional parameters section causes the compiler to coimplain... (because the resulting command would be /build "DEBUG" /rebuild"

the reason why it works in VC++ is because the commandline is "/MAKE "DEBUG|RELEASE|whatever" so it doesnt complain if you tack a /rebuild flag on the end


I need to be able to control whether it builds or rebuilds with macros, so the checkbox for "Force Rebuild" isnt of help to me here. I realise there is a workaround,in that i could have two steps, one to build with the force checkbox and the other without... but im hoping in the next release there could be allowances made for this checkbox to be controlled by a macro so such a workaround isnt necessary...


comments?
Reply With Quote
 


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 11:23 AM.


Copyright © 1999-2023 Kinook Software, Inc.