Visual Studio 2010 RTM未与ClickOnce发布 [英] Visual Studio 2010 RTM is not publishing with ClickOnce

查看:86
本文介绍了Visual Studio 2010 RTM未与ClickOnce发布的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人将ClickOnce与VS2010一起使用吗?

Is anyone using ClickOnce with VS2010?

当解决方案构建良好时,我将发布以下内容...

I’m getting the following on publish, when the solution builds fine ...

Building WindowsFormsApplication1...
Error: Cannot publish because a project failed to build.

已经尝试了所有内容,新的干净项目(包括Windform和WPF),新的临时密钥,禁用的先决条件,并且已与每个发布设置一起使用. 我希望它能最终解决,RC中也发生了同样的事情

Have tried everything, new clean project (both windforms and WPF), new temporary key, disabled pre-requisites and played with every publish setting. I was hoping it’d be fixed in final, the same thing happened in RC

目前,我的解决方法"是将msbuild.exe与clickonce.proj结合使用,如下所示 http://social. msdn.microsoft.com/Forums/zh-CN/msbuild/thread/40bb7d32-a9ad-40d7-8113-cb3ed2747e69 (如hanselman的并行构建博客文章中所述,连接到外部工具+工具栏按钮)

My 'workaround' at the moment is to use msbuild.exe with a clickonce.proj, along the lines of the following http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/40bb7d32-a9ad-40d7-8113-cb3ed2747e69 (wired to an external tool+toolbar button as in hanselman's parallel build blog post)

推荐答案

很有趣,右键单击项目菜单上的发布似乎有效.它启动了向导,而不仅仅是发布向导,因此并不理想,但是我现在有2个解决方法(包括我的原始帖子中所述的一种方法).

Funnily enough, publish from right-click on the project menu seems to work. It fires up the wizard rather than just publishing, so not ideal, but I do have 2 workarounds now (including the one stated in my original post).

这篇关于Visual Studio 2010 RTM未与ClickOnce发布的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆