Kashif Nizam Qureshi

Manually Package SharePoint WSP using VS 2013

1 Comment

Package a WSP

Right click your project in the right column. Then click “Publish”.

A dialog will open, where you will get to choose where to place the resulting .wsp file. After clicking “Publish” your project will be build and then packaged in the selected location.

Make sure to have the Solution configuration set to Release when building for production.

Install the resulting WSP

Copy the .wsp to the server
Open an elevated SharePoint Management shell
Run Add-SPSolution -literalpath “C:\Linktowsp\wspname.wsp”
Run Install-SPSolution -identity “wspname.wsp” (here you might need to add -gacdeployment and -webapplication (or -allwebapplications) parameters depending on the content of your solution)

Advertisements

One thought on “Manually Package SharePoint WSP using VS 2013

  1. Pingback: Error occurred in deployment step Activate Features | Kashif Nizam Qureshi

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s