ClickOnce发布中“DeploymentProviderUri”无效,

错误详情:

名称: MobileExcelAddIn
从: http://localhost/WebSite/MobileExcelAddIn.vsto

************** 异常文本 **************
System.Deployment.Application.DeploymentException: 存储元数据“DeploymentProviderUri”无效。
   在 Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.DownloadAddIn(TimeSpan timeout)
   在 Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()

我的解决方法:

参考:

http://social.msdn.microsoft.com/Forums/en/winformssetup/thread/44db0b89-41cb-4ef7-8adb-5814d9fa03a6

我这样解决了。记录之。

I had already tried the uninstall/ file removal, but deleting the registry entries solved the problem! I first backed up the registry, and then delected all references to the program in all sub-keys under:  HKCU\Software\Classes\Software\Microsoft\Windows\CurrentVersion\Deployment\SideBySide\2.0 That might have been overkill but it worked

删除注册表键值:

windows7系统

Registry: HKCU\Software\Classes\Software\Microsoft\Windows\CurrentVersion\Deployment\SideBySide\2.0\PacakgeMetadata\

此条目发表在学习笔记分类目录,贴了标签。将固定链接加入收藏夹。

发表评论

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据