Reputation: 180
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
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