I have a solution containing 14 projects. I am trying to create a deployment package for this solution. I can use the wizard to package a single project to be deployed on our remote server; however, I'm having a hard time finding any information about packaging a solution with multiple projects.

First, is it possible to create a deployment package for the solution rather than a project;

Second, would anyone be able to point to any information on this subject (packaging a solution with multiple projects - not how to create a deployment package for a project).

2 Answers
2

Is it possible to create a deployment package for the solution rather than a project?

Don't know your purpose of creating a package for solution, but to simply answer your question - No, you can't package the whole solution. The package option in VS 2010 and 2012 is to create one deployable project which includes artefacts like website, SQL for another environment like Test Or Production.

However, you can zip up the solution in VS2012, which is a new feature by right clicking the solution to create a minified version of solution for portability.

I agree, in Visual Studio a solution is nothing more than a construct that allows projects to be grouped together for the purposes of code organization. The unit of deployment is the project.
–
KevinJan 4 '13 at 17:13

@Kevin: I disagree. The unit of deployment is in between solution and projects. What you say holds true only for limited solutions, where one project describes the total deliverables.
–
Casper Leon NielsenJan 4 '13 at 17:17

Also multiple packages for multiple projects can be created from within one solution.
–
Nexus23Jan 4 '13 at 17:28

@Nexus - thanks, I think this is what I should have been trying to do. "Also multiple packages for multiple projects can be created from within one solution."
–
BenJan 4 '13 at 18:26