RollingStone
RollingStone

Reputation: 180

How to create wsp package from powershell

Please help, how to create wsp package from powershell? I know how to build solution, but I don't know how to emulate command Package, which exists for WebPart projects in project item context menu.

Thank you!

Upvotes: 2

Views: 2563

Answers (1)

Pedro
Pedro

Reputation: 52

I guess this is what you want.

set-alias msbuild C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe
msbuild /t:package **[.csproj file]**

Regards,

Pedro

Upvotes: 1

Related Questions