Skip to main content

Questions tagged [solution-package]

SharePoint solution is deployed to a SharePoint server by using a solution package (.wsp) file. You can use Visual Studio to organize your SharePoint Project Items into Features and to create a package to deploy your SharePoint Features.

Filter by
Sorted by
Tagged with
42 votes
3 answers
38k 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) ...
David Culp's user avatar
  • 1,309
30 votes
7 answers
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 ...
12 votes
6 answers
48k 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 ...
Abe Miessler's user avatar
  • 6,755
12 votes
4 answers
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 ...
Charles Lee's user avatar
  • 2,043
12 votes
2 answers
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 "...
Stef Heyenrath's user avatar
11 votes
8 answers
16k 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-...
user avatar
11 votes
1 answer
24k 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?
John's user avatar
  • 3,763
11 votes
2 answers
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 ...
Mohammed Shokry's user avatar
10 votes
4 answers
948 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?
jimmybigshoes's user avatar
10 votes
1 answer
8k 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 ...
Ahmed Magdy's user avatar
10 votes
2 answers
14k 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). ...
James Skemp's user avatar
10 votes
1 answer
3k 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, ...
Oleg Savelyev's user avatar
9 votes
2 answers
5k 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 ...
Luis Valencia's user avatar
9 votes
7 answers
12k views

SharePoint 2010 - Solution struck on Retracting

I have solution installed in my solution store. I am trying to retract the solution but is stuck on "Retracting". Solution Tried : 1 . Restart Timer Job services But when i am trying to add ...
Monica Jagani's user avatar
8 votes
3 answers
32k 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 ...
user avatar
8 votes
1 answer
7k views

Add-SPSolution Error An object in the SharePoint administrative framework, "SPSolutionLanguagePack Name=0

When I tried to add my wsp solution I am getting the error, An object in the SharePoint administrative framework, "SPSolutionLanguagePack Name=0 Parent=SPSolution Name=myeventreceiver.wsp", ...
samolpp2's user avatar
  • 3,500
8 votes
2 answers
3k 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 ...
ViennaMike's user avatar
8 votes
3 answers
983 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. ...
Daniel Estelius's user avatar
7 votes
4 answers
56k 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" -...
Pieter Du Toit's user avatar
7 votes
1 answer
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 ...
empz's user avatar
  • 781
7 votes
1 answer
5k 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 ...
SilverlightFox's user avatar
6 votes
5 answers
36k 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 ...
Gravity M's user avatar
  • 693
6 votes
6 answers
21k views

Detecting Solution Deploying Status

I am Looking for a way to detect if the a solution is deploying the following code does not seem to return "Deploying" like I see in central admin. $wspID = Get-SPSolution -Identity 'mysolution.wsp'; ...
ChiliYago's user avatar
  • 2,166
6 votes
4 answers
60k 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 ...
ninel's user avatar
  • 653
6 votes
2 answers
11k 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 ...
Ziba Leah's user avatar
  • 1,987
6 votes
7 answers
34k 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 ...
SidC's user avatar
  • 249
6 votes
2 answers
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 ...
Abe Miessler's user avatar
  • 6,755
6 votes
2 answers
2k 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 ...
Abe Miessler's user avatar
  • 6,755
6 votes
8 answers
24k views

Error occurred in deployment step 'Recycle IIS Application Pool'

I am trying to build a WebPart project and I am trying to deploy the same into my SharePoint dev site which I created using the SharePoint Central Administration. But the issue which I am facing while ...
Arvind Raj's user avatar
6 votes
3 answers
995 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: ...
JohnDoDo's user avatar
  • 1,169
6 votes
2 answers
510 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 ...
Nick's user avatar
  • 413
5 votes
3 answers
514 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 ...
Jasper's user avatar
  • 1,274
5 votes
1 answer
5k 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 ...
Steve P's user avatar
  • 2,358
5 votes
2 answers
67 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 ...
Vishal's user avatar
  • 219
5 votes
3 answers
1k 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 ...
Arvind Raj's user avatar
5 votes
2 answers
447 views

Site created using a site template will not preserve the values for the columns (hidden columns will be set as required)

I am facing this strange behaviour on my SharePoint Farm 2013 On-Premises. Below are the steps I followed: I create a new Site Content type which have the Issue content type as its the parent. Now ...
John John's user avatar
5 votes
2 answers
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 ...
user avatar
5 votes
1 answer
66 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 ...
Christopher Haws's user avatar
5 votes
1 answer
488 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 ...
JasonV's user avatar
  • 793
5 votes
2 answers
326 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 ...
Karthikeyan's user avatar
  • 2,548
5 votes
1 answer
4k 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 ...
HaavardMeling's user avatar
5 votes
0 answers
55 views

The Client ID submitted in your add-in package does not match the Client ID submitted via the Seller Dashboard

I have registered my Provider Hosted Add-in to Microsoft Seller Dashboard. Microsoft has send back a report with this error: The Client ID submitted in your add-in package does not match the ...
Ronak Patel's user avatar
  • 3,261
4 votes
2 answers
11k 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 ...
jumbo's user avatar
  • 434
4 votes
2 answers
10k 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 ...
Muhammad Raja's user avatar
4 votes
2 answers
349 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 ...
Mike H's user avatar
  • 695
4 votes
1 answer
582 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 ...
Rajesh Joshi's user avatar
  • 1,344
4 votes
2 answers
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 ...
Jeroen Ritmeijer's user avatar
4 votes
1 answer
1k 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 ...
Volodymyr Molodets's user avatar
4 votes
1 answer
2k 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 ...
Sascha's user avatar
  • 940
4 votes
1 answer
155 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?
Tudor Olariu's user avatar

1
2 3 4 5
9