#1
|
|||
|
|||
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? |
Thread Tools | |
Display Modes | Rate This Thread |
|
|