Second Life of a Hungarian SharePoint Geek

June 28, 2011

Creating WSP packages for all of your SharePoint projects

Filed under: Deployment, SP 2010, Visual Studio — Tags: , , — Peter Holpar @ 09:19

Assume you have a solution in Visual Studio 2010 with several SharePoint projects. You have to create the WSP files for the SharePoint artifacts, but no deployment.

In this case you can use the built-in Package menu on the project Build menu as described here. Of course, you have to package the projects one by one.

If you have to do it several times and you have many SharePoint projects in your solution it might be quicker to create your own deployment configuration as illustrated below:


and set it as the default deployment step:


After you repeat these steps for each of the SharePoint projects, you can select the Deploy Solution in the solution menu. Your project will be packaged at a single action, but without deployment.

BTW deployment configurations: Interesting behavior (bug?) in Visual Studio 2010 that you can delete the active deployment configuration (see image below), that results the following error on deployment:

The active deployment configuration ‘Package Only – No Deployment’ cannot be located. Specify a valid deployment configuration in the Project Properties.



Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Create a free website or blog at

%d bloggers like this: