Building Deployment projects from the command line (devenv.exe)  
Author Message
i386





PostPosted: Visual C# General, Building Deployment projects from the command line (devenv.exe) Top

Hey,
I have a need to build a single deployment project from the command line using devenv but I have a need not to rebuild any dependant projects in its solution (ie when the deployment project take the output of another solution I want so assume that this is already built).

Is this at all possible

James


Visual C#20  
 
 
Geert Verhoeven





PostPosted: Visual C# General, Building Deployment projects from the command line (devenv.exe) Top

Hi James,

Why don't you use your Visual Studio environment to do this By using the configuration manager you can select which projects need to be build. This way you can make sure that only the setup project is build and not the other projects.

Greetz,

Geert

Geert Verhoeven
Ausy Belgium

My Personal Blog



 
 
Gabriel Lozano-Moran





PostPosted: Visual C# General, Building Deployment projects from the command line (devenv.exe) Top

When you run devenv.exe <solutionName> /build /project <projectName> you will only build the specified project within the specified solution. Only project files that have changed since the last build will be build. Therefore the dependant projects will not be build unless they have been changed.