How to get wsp/dlls/code from SharePoint deployed solution?
How to get wsp/dll/code from SharePoint deployed solution?
Please do not forget to comment if this helps.
Add-PsSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
$farm = Get-SpFarm
$file = $farm.Solutions.Item("wsp_name.wsp ").SolutionFile
$file.SaveAs("D:\Temp\wsp_name.wsp")
reanme .wsp to .cab and extract DLL
now you can use http://ilspy.net/ to see whats inside DLL.
Enjoy
Please do not forget to comment if this helps.
Add-PsSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
$farm = Get-SpFarm
$file = $farm.Solutions.Item("wsp_name.wsp ").SolutionFile
$file.SaveAs("D:\Temp\wsp_name.wsp")
reanme .wsp to .cab and extract DLL
now you can use http://ilspy.net/ to see whats inside DLL.
Enjoy
Comments
Post a Comment