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)

23
votes
6answers
4k 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 ...
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 ...
10
votes
2answers
4k 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 ...
10
votes
4answers
1k views

Mutliple 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 ...
9
votes
1answer
4k 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
2answers
6k 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
1answer
1k 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
6answers
6k 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 ...
7
votes
2answers
1k 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 ...
6
votes
3answers
14k 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) ...
6
votes
2answers
2k 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
949 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
1answer
200 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 ...
6
votes
2answers
454 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
3answers
425 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
727 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
1answer
8k 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?
5
votes
3answers
589 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: ...
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
51 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
443 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
1k 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 ...
4
votes
5answers
16k 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 ...
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
232 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
270 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
583 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
79 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
1answer
924 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 ...
3
votes
3answers
381 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
3answers
15k 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 ...
3
votes
5answers
12k 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 ...
3
votes
4answers
14k 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 ...
3
votes
2answers
4k 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 ...
3
votes
2answers
501 views

Retract solution in sharepoint 2010

How to retract a sharepoint solution without having remaining list intances, workflows, data etc?
3
votes
2answers
5k 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: ...
3
votes
1answer
3k 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 ...
3
votes
4answers
529 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
112 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. ...
3
votes
2answers
2k views

Import wsp with studio 2010

I imported a WSP that was in the gallery (put in there by the old developer) into a new studio wsp import project. It looks really noisy (too much stuff that we don't even use when creating a site ...
3
votes
1answer
177 views

Adding ScriptResx.ashx Compatible .Resx files to your SP Solution

I asked a question maybe yesterday or two days ago tops about using ScriptResx.ashx with custom resource files. I noticed that at first my custom file wasn't being rendered through the handler because ...
3
votes
1answer
68 views

Iterative deployments using WSP in SharePoint2010

I am looking for best practices for deploying frequent custom code changes to SharePoint 2010 server, my changes include all kind of changes like web parts, content types, workflows, feature ...
3
votes
3answers
1k views

Custom Workflow Activity - Solution does not exist

I've created a custom Workflow Activity, per the instructions at http://www.wictorwilen.se/Post/Sandboxed-workflow-activities-in-SharePoint-2010.aspx. I created my custom action, and I deployed it ...
3
votes
3answers
514 views

wsp deployment sometimes doesn't update gac-ed assembly on all servers

We are finding recently, with our wsp deployments, that on some of the WFE/APP servers in our farm that the assembly contained in the WSP, which should be gaced, is updating some servers but not all. ...
3
votes
2answers
660 views

Deploying all components of an InfoPath form plus managed code as a solution

Has anyone successfully packaged up an InfoPath form solution with the following features? Custom site columns for properties promoted from form Custom content types to be associated with form ...
3
votes
0answers
78 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. ...
3
votes
2answers
526 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 ...
2
votes
3answers
11k 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 ...
2
votes
3answers
848 views

What is the recommended best practice for updating a SharePoint Solution (WSP)?

What is the best way to update a SharePoint solution in a multi-server production environment? We have 2 Web Front Ends which are hardware load balanced and 1 application server. I don't want to ...