开发者

Package a SharePoint solution from the DTE

开发者 https://www.devze.com 2023-03-15 16:37 出处:网络
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:

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

精彩评论

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

关注公众号