|
#1
|
|||
|
|||
VS.NET /rebuild option
I am trying to set up a VS.NET step to rebuild my project.
I entered the solution name and configuration. I added /rebuild in the command line field on the options tab. When I build the step I get the following output: "Pre-processing... Building... Microsoft (R) Development Environment Version 7.10.3077. Copyright (C) Microsoft Corp 1984-2001. All rights reserved. Invalid Command Line. Usage: devenv [solutionfile | projectfile | anyfile.ext] [switches] You can invoke... Build successfully completed." The same thing happens when I attempt to do a clean. The solution build correctly when I don't add any additional values to the command line. BTW, this worked for a VC6 step. Thanks in advance. |
#2
|
|||
|
|||
Checking the 'Force a build of all projects' checkbox on the Project/Solution tab of the Make VS.NET action will cause the action to use the /rebuild flag instead of /build, causing the project outputs to be cleaned before building. The /rebuild and /clean flags work differently in VS.NET than VC6 and can't be tacked onto the end of the command-line.
|
Thread Tools | |
Display Modes | Rate This Thread |
|
|