开发者

Package a SharePoint solution from the DTE

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")

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜