从上下文菜单中发布(单击一次)和Visual Studio 2010中的项目属性页面有什么区别? [英] What's the difference between Publish (Click Once) from the context menu and from the Project properties page in Visual Studio 2010?
问题描述
我从Microsoft的ClickOnce团队得到一个答案。
当您在构建菜单上使用发布选项时,它完全可以避免Visual Studio中的任何内容,并直接使用msbuild。如果您使用发布选项卡上的发布按钮,则用户已安装的任何加载项影响了构建和发布的过程(他说在进入msbuild之前会经过VIsual Studio)。所以使用Build菜单总是会更好。
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?
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.
这篇关于从上下文菜单中发布(单击一次)和Visual Studio 2010中的项目属性页面有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!