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)

19
votes
6answers
3k 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
827 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
3k 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
872 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 ...
7
votes
2answers
3k 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). ...
7
votes
1answer
907 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, ...
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
106 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 ...
5
votes
3answers
334 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
661 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 ...
5
votes
2answers
670 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 ...
5
votes
2answers
1k 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
43 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
405 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
2answers
386 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
1answer
899 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
2answers
570 views

How to install a WSP that has dependant 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 ...
4
votes
1answer
1k 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 ...
4
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 ...
4
votes
3answers
370 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: ...
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
78 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
252 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
182 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
423 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
4answers
6k 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) ...
3
votes
3answers
216 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
9k 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
2answers
2k 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
429 views

Retract solution in sharepoint 2010

How to retract a sharepoint solution without having remaining list intances, workflows, data etc?
3
votes
2answers
4k 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
2k 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
428 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
5answers
3k 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 ...
3
votes
1answer
110 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
3answers
440 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
635 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
2answers
244 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
488 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 ...
2
votes
2answers
187 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 ...
2
votes
1answer
304 views

.wsp/.cab file creation in SharePoint

So I had to dismantle a .wsp file to correct some pathing issues that wouldn't fix any other way in feature.xml (this is a site template), and now can't seem to find a decent utility to put the ...
2
votes
4answers
688 views

How can I make sure the features in my solution activate in the correct order?

I'm working on a fairly large SharePoint 2010 project. We have broken up the code into a number of solutions, each containing a number of features which we deploy via powershell and activate in the ...
2
votes
1answer
3k 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?
2
votes
4answers
1k views

error CS0234: The type or namespace name 'DirectoryServices' does not exist in the namespace 'System'

I have deployed a feature (wsp) on our new production server but get the following error: error CS0234: The type or namespace name 'DirectoryServices' does not exist in the namespace 'System' The ...
2
votes
1answer
498 views

How to find the localized name of the Web Part Gallery

I have learned (still a SP-Noob...) that I have to take care of removing webParts that I deployed as part fo a solution myself. Now I have coded something like string file = "MyWebPart.webpart"; ...
2
votes
1answer
973 views

Export SPD List Workflow to Visual Studio 2010

is it possible to export a SPD List associated workflow into a .wsp-Package for further editing in Visual Studio 2010? Since it is possible with reusable workflows i wanted to know whether it is ...
2
votes
1answer
632 views

SharePoint 2010 Deployment: WSPBuilder 2010 or MSBUILD?

I'm new to SharePoint (SP) deployment. I need to deploy a SharePoint Foundation (SPF) 2010 solution. Currently, while debugging, I've been deploying it locally a la CTRL+F5. This generates the WSP ...
2
votes
1answer
33 views

Reading from text files within a sandboxed solution

So I have a set of plain text files included in some directories within sandboxed solution. I want to use these text files to programmatically insert data to SharePoint Online using an event receiver. ...
2
votes
1answer
933 views

Activate features on subsite Sharepoint 2010

I have a problem when I activate the feature on the subsite. I try to create a wsp package with the module and feature. In the module I have stp files (list templates). <?xml version="1.0" ...

1 2 3 4