What's the difference between Publish (Click O

2019-07-21 12:38发布

I have a Windows GUI client I've written in C# using Visual Studio 2010. When I publish from the project's Property Page it fails whilst it succeeds from the context menu on the project. Does anyone know why this might happen?

1条回答
时光不老,我们不散
2楼-- · 2019-07-21 13:28

I have an answer for this from the ClickOnce team at Microsoft.

When you use the publish option on the build menu, it totally circumvents anything in Visual Studio and uses msbuild directly. If you use the Publish button on the Publish tab, any add-ins that the user has installed impact the process of doing the build and publish (he said something like "it goes through VIsual Studio before getting to msbuild"). So using the Build menu is always better.

查看更多
登录 后发表回答