Deploying a WSP solution to SharePoint 2010


To Deploy a WSP solution to SharePoint 2010 follow the simple steps below:

 

Set up your path in your environmental table…

SET PATH=%PATH%;C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\BIN

Locate Your DEBUG or RELEASE folder

CD\DEPLOY

Add your solution

stsadm -o addsolution -filename YESPrep_Redirection.wsp

Deploy your solution

stsadm -o deploysolution -name YESPrep_Redirection.wsp -url http://nav-test.yesprep.local -allowgacdeployment -immediate

pause

——————

 

To Remove it before deploying another solution follow the steps below:

 

Set up your path in your environmental table…

SET PATH=%PATH%;C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\BIN

Locate Your DEBUG or RELEASE folder

CD\DEPLOY

Remove your solution

stsadm -o retractsolution -name YESPrep_Redirection.wsp -URL http://cssp02-staging -immediate

Remove your solution

stsadm -o deletesolution -name YESPrep_Redirection.wsp

 

 

Lastly make sure that you add the web part into the gallery (upload the *.webpart file)

Categories: SharePoint or Custom Development | Leave a comment

Post navigation

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 )

Connecting to %s

Blog at WordPress.com. Theme: Customized Adventure Journal by Contexture International.

Follow

Get every new post delivered to your Inbox.