Is there a way to package a SharePoint solution in a .wsp file from the Visual Studio dte?
I can build the solution with the following command:
$dte.ExecuteCommand("Build.RebuildSolution")
But that doesn't package the project.
Note: I was trying to do this with Pow开发者_StackOverflowershell/PowerConsole, but it would be the same as if I was accessing the $dte some other way.
$dte.ExecuteCommand("Build.Package")
精彩评论