A solution package is the distribution package (file extension .wsp) that delivers your custom SharePoint code and artefacts to the web servers within your server farm.

learn more… | top users | synonyms (2)

33
votes
3answers
30k views

Explain it to me: SharePoint deployment scope, solution and features

There are different levels of scope for deployment, but I have not been able to find a definitive explaination of when each applies and what the restrictions are that require loosening (or tightening) ...
26
votes
7answers
7k views

List of best practices on structuring SharePoint 2010 solutions

I am looking for good guidance on how to structure a SharePoint Solution including: Visual Studio Project Structure Features (how to separate features) Namespaces When to use multiple project ...
11
votes
2answers
5k views

Best practice for developing a WebService in SharePoint?

I've followed the following steps to build a WebService in SharePoint: Created a new project using WSPBuilder. Added a 'WebService' (Add a new web service to the layouts folder) Do a WSBBuilder "...
11
votes
4answers
2k views

Multiple solutions using shared DLLs can cause havoc when individual solutions are retracted

Problem: Multiple solutions using shared dll's can cause havoc when individual solutions are retracted. Example: You have a web part helper dll used by all your web part code. If you retract a ...
10
votes
2answers
1k views

Best way to package publishing content types

I'm currently planning on how to package my Publishing content types in a WSP to make deployment in production easier. I came a cross the following choices 1- create a feature receiver and ...
9
votes
4answers
263 views

.sln or .csproj which one do I turn into a .wsp?

I am wanting to create a wsp from my solution but I am wondering which one I turn into the wsp, the .sln or the .csproj?
9
votes
1answer
7k views

Where is Package menu item in Visual Studio 2012

I'm using visual studio 2012 for developing SharePoint 2010 solutions, back in vs2010 there was a menu item names "Package" so I can get the package without deploying it and I noticed it's disappeared ...
9
votes
6answers
30k views

Retracting solution from Central Admin?

In Central Administration I went to System Settings->Manage Farm Solutions In there I selected the WSP I want to retract, clicked the Retract Solution link and clicked "OK" with all of the ...
9
votes
2answers
10k views

What permissions are needed to deploy a WSP to SharePoint 2010?

In an attempt to make sure that developers have the appropriate rights, I'm trying to find documentation on what rights are needed to deploy WSP files to SharePoint 2010 (via stsadm or otherwise). ...
8
votes
6answers
10k views

What is causing a “Cannot find a Feature” error when uninstalling a solution?

I have a weird error when trying to deploy a solution via Visual Studio 2010: Error 1 Error occurred in deployment step 'Add Solution': The solution cannot be deployed. The feature 'XXXX-XXXX-...
8
votes
1answer
17k views

Completely remove a WSP from SharePoint

What is the best way to completely remove a WSP from SharePoint? SO when you reinstall it again from scatch it thinks it is a clean install?
8
votes
2answers
2k views

Sharepoint Q&A tool like Stack Exchange

Are there any add-ons to Sharepoint to provide a Q&A type of site like this one or Stack Exchange? This would be for an internal corporate intranet, rather than a public site. I know there are ...
8
votes
1answer
2k views

Best practices for creating a shared code library for SharePoint projects

I have several projects for SharePoint 2010 (mostly they are separate solutions built each to separate wsp's) in active development. And I have a similar tasks in these projects (logging, ...
7
votes
2answers
468 views

Localization problems in WSP template

I configure a SharePoint 2013 site using the web interface. I save the site as a template, a WSP package. I then utilize this template on new, clean, team sites. It works great almost all the times. ...
6
votes
5answers
30k views

How to create a WSP solution package with visual studio 2012 for an existing SharePoint site?

My manager told me: "We don't create a WSP package for an entire existing SharePoint site, we just need to package master pages, CSS, images and page layout files into a solution package." Is it ...
6
votes
2answers
3k views

modify web.config programatically to add a workflow authorized type

I need to add a line in the web.config under authorizedtypes, I want to do it with a wsp solution so that sharepoint takes care of syncrhonizing it with other front end servers. I just want to put ...
6
votes
2answers
1k views

How to reproduce Visual Studio “Deploy” action?

It seems like whenever I am developing a web part and I "Deploy" it from Visual Studio, everything gets deployed and works exactly as I would expect. When I take my WSP and try to install it to a ...
6
votes
1answer
2k views

Problem installing web part using Powershell

We've developed a custom Visual Web Part using Visual Studio 2010 for Sharepoint 2010 Server. The webpart gets deployed when executed from VS (F5), so we can add it wherever we want using Sharepoint ...
6
votes
3answers
821 views

Use a supplemental .config file just for a web application

I'm trying to add a section into the web.config of a SharePoint 2010 application and I created a webconfig.myname.xml in the \14\CONFIG folder. I then ran the following command to apply the changes: ...
6
votes
2answers
480 views

Can't deploy packaged page layouts because they are already in the content database

In our SP2010 publishing site we have a lot of content (publishing pages) which are associated with custom page layouts. These page layouts have previously been edited on the server using SharePoint ...
5
votes
4answers
36k views

How do I update an already existing wsp on farm? [duplicate]

Possible Duplicate: Update-SPSolution does not Deploy Solution I have a wsp that is already deployed on the farm. I made some code changes. I cannot use the Add-SPSolution command because I ...
5
votes
3answers
460 views

SharePoint Online web template debugging

I'm trying to develop a custom web template to use with SharePoint Online. I created an empty web online and saved it as a template (without content). I then loaded that WSP into Visual Studio and ...
5
votes
2answers
1k views

How to install a WSP that has dependent assemblies?

I have a solution in Visual Studio 2010 that is made up of 3 projects. I have one project for my SharePoint 2010 custom timer job, one project (Project A) that is used by my custom timer job, and ...
5
votes
2answers
39 views

How to deploy solution to other applications which is already existing in the farm?

I have a solution already deployed in farm for an application. Now I have added new application in the farm and I would need to use the same solution for the newly added web application as well. Is ...
5
votes
3answers
111 views

Method of comparing and finding out the difference between two wsp files

Is there any way of finding out the difference between two wsp files that are created using the package option in visual studio, including the parameters like the change-set version , check-in and ...
5
votes
2answers
2k views

Anyone manage to deploy a WSP without it forcing an IISReset?

I'm working in SharePoint 2010 and have been unable to deploy (or retract) my WSP without causing an IISReset. Here's my situation: The solution contains: Fields One content type A page layout ...
5
votes
1answer
58 views

Is it possible to modify existing solutions/templates?

I modified the master page of a site and I would like to make all new sites that get created to use this master page by default. Is there a way to modify the built in site templates to use this master ...
5
votes
1answer
478 views

Building VS 2010 projects for SharePoint 2010 & 2007

I am curious if anybody else out there is trying to development a single SharePoint product that works with both SP2007 and SP2010, and what approach you have taken to structure your Visual Studio ...
5
votes
1answer
2k views

Error occurred in deployment step 'Add Solution': Index (zero based)

Error occurred in deployment step 'Add Solution': Index (zero based) must be greater than or equal to zero and less than the size of the argument. Getting this error on deployment both from CA and ...
5
votes
1answer
3k views

Is it possible to export a site workflow?

If I have a Site Workflow on my development machine, what's the best way to deploy it onto the production system which is hosted on Microsoft SharePoint Online? I have found a way of doing it which ...
4
votes
3answers
18k views

Install-SPSolution : This solution contains no resources scoped for a Web application and cannot be deployed to a particular Web application

I have a powershell script that deploys about 12 web parts. They have all been created in the manner through visual studio 2010 and are being deployed to sharepoint 2010. I am getting the following ...
4
votes
7answers
23k views

How do I Modify Contents of a WSP File?

I've been provided a WSP file that contains a webpart created by another developer. I have been requested to make modifications to the webpart and repackage as a WSP file again. What steps must be ...
4
votes
2answers
8k views

What's wrong with Uninstall-SPSolution and AllWebApplications parameter?

When I try to uninstall WSP with following line, everything is ok: Uninstall-SPSolution project.wsp # no error - OK When I try to add switch parameter -AllWebApplications, I get error (something ...
4
votes
4answers
28k views

How to deploy wsp to single web application

I want to deploy my solution to a single web application. I used the following script: Add-SPSolution -c:/mywebpart.wsp Install-SPSolution mywebpart.wsp -WebApplication "SharePoint Debugging" -...
4
votes
1answer
4k views

Adding Features during Solution Update

Is there a supported method to add features during a solution update. We call Update-SPSolution and then upgrade our old features using SPFeature.Upgrade but any new features in the solution do not ...
4
votes
1answer
394 views

Protect wsp file from Reverse Engineering

How to protect wsp file so no one can read my source code. When we change wsp file extension from wsp to zip, it gives all dll file and this dll can be extracted from .net reflector and get all source ...
4
votes
2answers
1k views

Has the deployment of resource files and site maps been improved in SharePoint 2010

All the SharePoint applications I work on use resource files to allow localisation and sitemap files to integrate with breadcrumbs. It has always been a problem to deploy and process these files as ...
4
votes
1answer
847 views

Enumerate every solution for each WebApplication

I'm performing an inventory and I need to get list of sharepoint solutions (*.wsp) deployed to every individual web-application and ideally, it would also be great to list what Application pool on ...
4
votes
2answers
304 views

How can I compare WFEs to ensure a WSP was deployed succesfully?

I'm a sharepoint 2007 administrator. We are running with two WFE and deployed a wsp package recently, we suspect that the deployment was not completely successful. we would like to compare the WSPs ...
4
votes
1answer
1k views

Migrating SharePoint Features from WSS 3.0 to SharePoint 2010

I try to Migrate a SharePoint 2003 (WSS 3.0) to SharePoint 2010. I do it with the detach database method. After I run the test-spcontentdatabase to the restored contentdatabase. I get some errors ...
4
votes
1answer
116 views

Force WSPBuilder to include .NET 4.0

How do I force WSPBuilder (through Visual Studio 2010) to deploy a sattelite .NET 4.0 assembly in the GAC?
4
votes
2answers
1k views

Getting AssemblyFileVersion of a wsp **without** a feature

I got a monitoring page where I show the version of all web parts, features etc. If I use features with Event Receiver I can easily get the version. If the Feature has no event receiver I solved that ...
3
votes
3answers
571 views

Deploying SharePoint 2010 WSP to MOSS 2007

Please help me on this. Is it possible to deploy a WSP solution developed in SharePoint 2010 to SharePoint 2007. I know this is very akward question, but right now I am asked this very same question ...
3
votes
2answers
6k views

How deploy a WSP with external .dll

I'm here to ask a newbie question... I'm developing a solution for some web site in Sharepoint 2010. No problem to deploy and test... Then I introduce a new project of a DLL in my Solution... when i ...
3
votes
2answers
7k views

Making a cab file with ddf (to create a wsp solution package)

I am trying to Create a ddf file for my custom list feature using tutorial given in this link Create a wsp using ddf but in this link there isn't enough Information like what is the directory ...
3
votes
2answers
534 views

Retract solution in sharepoint 2010

How to retract a sharepoint solution without having remaining list intances, workflows, data etc?
3
votes
2answers
288 views

What can be excluded from source control in SPT 2010 solution (VS 2010)?

Besides the usual bin and obj folders, what else can be excluded from source control in the Visual Studio 2010 SharePoint solution I've built? I'm particularly interested in whether the pkg and ...
3
votes
2answers
8k views

Adding a WSP through the Management Shell?

I have a WSP that I am trying to install on my development SharePoint server. I used the Management Shell to do this: Add-SPSolution -LiteralPath c:\temp\mySolution.wsp and then: Install-...
3
votes
4answers
602 views

Possible to modify the contents of a WSP through code?

I have a base WSP and I would like to create an automated process to update one of the files that it contains (an XML file). Is there anything in the Object Model that would allow me to do this? ...
3
votes
1answer
117 views

Tools for deploying solutions

I'm looking for an easier way of deploying multiple solutions. I know I can write some scripts which handle all my WSP packages (both install and uninstall), but I want something more automated. Also,...