12 votes

Detecting Solution Deploying Status

You can tell the status of a deployment by observing the combined values of the Deployed and JobExists properties of the SPSolution object. SPSolution.Deployed True - Solution is deployed False - ...
user avatar
  • 1,592
10 votes
Accepted

UAT and Production environment can use the same server?

As a short answer: No You can't add two different versions of the same solution name in the same environment. Workarounds You have 2 workarounds Redploy the same solution with a different name. In ...
user avatar
8 votes
Accepted

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

I think This is especially the case if you have just done a retract/uninstall and you try to add straight away. If you try again in a few seconds it will work. Basically this is because when you ...
user avatar
8 votes
Accepted

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

Open solution in Visual Studio. Right click on the solution and deploy or build the solution. Now check your solution configuration If your are in debug mode, then find your .wsp in the following ...
user avatar
8 votes
Accepted

Difference between Feature ID and Solution ID

Solution id is identity of Solution package (.wsp file). If you are deploying wsp file, it will check solution id. If exists, it will update solution. Solution contains all the features, assembly, ...
user avatar
7 votes
Accepted

Create WSP package in Visual Studio 2013

Package a WSP Right click your project in the right column. Then click "Publish". A dialog will open, where you will get to choose where to place the resulting .wsp file. After clicking "Publish" ...
user avatar
7 votes

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

You can have multiple SharePoint projects (.csproj) in the same Visual Studio solution (.sln). Each SharePoint project builds into a WSP (right-click on the project and select "Package" or "Publish" ...
user avatar
  • 9,666
6 votes

Open WSP file in SharePoint 2013

Just changed the files extension of your wsp from .wsp to .cab and open it. If you would like to open the file contents of your wsp to visual studio, create a new project in visual studio with "...
user avatar
  • 1,520
5 votes
Accepted

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

Your point is actually about comparing two binary files. First, obviously, you can compare exact size of the files: if they don't match, you know they're different. But the best would be to use ...
user avatar
  • 9,666
4 votes

How to export .wsp solution files from SharePoint 2007 Farm

If you get an error adding SharePoint DLL which states Could not load file or assembly 'microsoft.sharepoint, Version=12.0.0.0 you can try using this script instead [Void][System.Reflection....
user avatar
  • 25.3k
4 votes

Deploy Solutions to Application or Web Front End Server

It doesn't matter. Once a solution is deployed, the timer job will propagate the changes to all other servers. That is the reason for packaging everything as a solution. One the other hand, people ...
4 votes
Accepted

Difference between Retract solution and Remove solution in SharePoint

Retract Solution fires off the Uninstall process of the WSP package from the farm. It's equivalent to the Uninstall-SPSolution PowerShell command and the opposite of the Install-SPSolution command. ...
user avatar
  • 1,699
4 votes

how to build wsp in visual studio 2012 without actually deploying the project

Yes, you can build and publish WSP without deploying solution.There is 'Publish' option in visual studio 2012, click on it & specify hard drive folder path to publish WSP. First bulid your ...
user avatar
  • 3,087
4 votes
Accepted

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

You can easily do that either from the Central Administration (System Settings, Farm Solution, click on your solution, and then "Deploy": you can select the ttarget Web application), or from a ...
user avatar
  • 9,666
4 votes
Accepted

Extract Wsp solutions

try below steps to get the files. First of all, locate the WSP package that needs to be investigated. you can go to Central Application system settings > manage farm solutions and download the ...
user avatar
  • 56.6k
3 votes
Accepted

How to export .wsp solution files from SharePoint 2007 Farm

Here is a generic idea Using stsadm -o enumsolutions get all installed solutions on the farm Then for each solution you need to download it using following technique [Enable Powershell] (http://...
user avatar
  • 28.2k
3 votes
Accepted

Deploy SharePoint 2010 Custom Solution to 2013 SharePoint

In SharePoint 2013, sites can be created either in SP 2010 mode or SP 2013 mode. So, SP 2010 compatible WSPs can be deployed to 14 hive by specifying the compatibility mode in SP 2013. Therefore a SP ...
user avatar
3 votes
Accepted

SharePoint .wsp retraction error

This solved my problem: remove-spsolution -identity {name of wsp file.wsp} -force
user avatar
  • 2,863
3 votes

Deploy assemblies into GAC using SharePoint package

Go to Package.package in your project and double-click it. Click the "Advanced" tab Click "Add" and "Add Existing Assembly.." Click the "triple-dots (...)" Navigate to your project folder and then to ...
user avatar
3 votes
Accepted

Renamed Project, WSP name doesn't change

Open The Package.Package file and change then Name attribute. Example <package xmlns:dm0="http://schemas.microsoft.com/VisualStudio/2008/DslTools/Core" dslVersion="1.0.0.0" Id="d3150724-5644-...
user avatar
  • 28.2k
3 votes

Opening WSP in VS

You cannot make changes to a already compiled WSP file. You need to have the Visual Studio Project instead. This Visual Studio Project packages all the assets to a WSP add the compiled dlls and every ...
user avatar
  • 2,736
3 votes

Migrating custom solution from 2010 to 2013

It depends on what resources does Your wsp contain. If there are images or pages, url paths are different in 2013, so links will be broken(by example /_layouts/ should become /_layouts/15, and so /...
user avatar
  • 1,581
3 votes

Error occurred in deployment step 'Recycle IIS Application Pool'

Please verify following things Current logged in user is in Administrator group of SharePoint server. Please try once Recycling IIS by IISRESET it worked for me in past
user avatar
3 votes
Accepted

Powershell: Is there a way to extract the Identity from a WSP file?

Actually, you don't need to get the Id of the solution: solutions are identified by their file names (xxxx.wsp) OR their Id. If a solution with the same file name is already added/deployed, you cannot ...
user avatar
  • 9,666
3 votes

Solution deployment stuck on deploying SharePoint 2013

In my case I have followed below steps to deploy the solution: I have cancel my solution deployment from central admin. I have restarted SharePoint Timer Service in all my SP instance. I stopped ...
user avatar
  • 1,124
3 votes

SharePoint Responsive Package PNP tools not able to enable feature in Package

Download and install the PS commands from http://aka.ms/officedevpnpcmdlets15. It should unpack the dll's to C:\Program Files (x86)\OfficeDevPnP.PowerShell.V15.Commands. You then have to import the ...
user avatar
  • 2,871
3 votes

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

No need to retract the solution. Just install it in your new web application using PowerShell. Install-SPSolution -WebApplication "[Site Collection URL]" -GACDeployment -Identity xxx.wsp
user avatar
3 votes
Accepted

How to generate a .wsp file for my Event Receiver using visual studio to be deployed inside my live environment

First off, a SharePoint solution package file is actually a cab file with a .wsp extension. If you switch the extension to .cab, you can open the file and extract the contents so you can examine if ...
user avatar
  • 1,675
3 votes

How to generate a .wsp file for my Event Receiver using visual studio to be deployed inside my live environment

The above answer is correct or you can have another option as- Delete the .WSP files from the \bin\Debug folder and rebuild the solution. You can find the current/updated date to the WSP. Or You can ...
user avatar
  • 2,444

Only top scored, non community-wiki answers of a minimum length are eligible