|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Exclude a project from a multi-project solution buildI have a solution which has multi projects, how can I exclude one
project from build when I click bulid or rebuild solution? Thanks. Rebuild Solution/Build Solution is a global override that forces VS.NET
to rebuild everything; you cannot cancel this behavior. Instead, assign the dependancies on all your other projects to force only the particular projects you wish to be built in your solution as a group when you build only a selected project. For each project, goto the VS.NET main menubar and select: project->project dependancies and project->project build order Checkmark the listed projects you want to have built when you build a particular project - do not checkmark the project you wish to exclude. After this, whenever you build a project in the solution, only the projects you have checkmarked will be built. Andy wrote:
> Rebuild Solution/Build Solution is a global override that forces Not so. Go to Build|Configuration Manager... from the menu and you can > VS.NET to rebuild everything; you cannot cancel this behavior. disable individual projects based on the solution configuration (e.g. so some projects build in debug builds but not in release builds). -cd |
|||||||||||||||||||||||