Visual Studio 2012 Clickonce部署问题
我刚刚升级到Visual Studio 2012,当用户更新曾在VS2010中发布过的应用程序时,我遇到了问题,现在我在VS2012中发布了更新的版本。 ClickOnce更新将下载所有文件,但只要你期望应用程序打开它就会遇到错误,其中包含以下消息。
"清单中的引用与下载的程序集的标识不匹配"。
I just recently upgraded to Visual Studio 2012 and I am having issues when the user goes to update an application that was once published in VS2010 and now I published a newer version in VS2012. The ClickOnce update will download all the files, but just as soon as you would expect the application to open it encounters an error with the following message in it. "Reference in the manifest does not match the identity of the downloaded assembly".
如果我打开VS2010并在那里发布新版本,一切都会正常工作。
If I open up VS2010 and publish a new version there, everything works just as it should.
任何帮助都将不胜感激。
Any help would be appreciated.
Kyle,
I试过,但问题没有重现。 您是否会遵循
这个博客,看看它对你有帮助吗?
I tried but the issue doesn't reproduce. Would you follow this blog and see if it help you?
想法是包含/ nowin32manifest切换
http ://msdn.microsoft.com/en-us/library/bb513864.aspx 功能在构建应用程序时。
The idea is to include /nowin32manifest switch http://msdn.microsoft.com/en-us/library/bb513864.aspx while building your application.
祝福。