Domanda

We migrated from SP2010 to SP2013.

I installed and deployed a wsp without specifying the compatibility mode.Now after migration,visual upgrade is getting delayed because of which the wsp is not working as expected in 2010 mode.

Is there a way to update the compatibility mode for a deployed wsp solution?

È stato utile?

Soluzione

I've searched for something similar for a long time, and never found a command to update a solution and its compatibility level.
So, I end up with retracting the WSP, and then installing it back with the CompatibilityLevel parameter in PowerShell.

Install-SPSolution -Identity <Name_of_WSP> -CompatibilityLevel "14,15" -GACDeployment [-WebApplication …]
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top