清单可能无效或无法打开文件 [英] the manifest may not be valid or the file could not be opened

查看:222
本文介绍了清单可能无效或无法打开文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想安装 Outlook 插件(由 Visual Studio 2008 开发)但出现以下错误.

I want to install outlook add-ins (Which is developed by Visual studio 2008) but I've got following error.

姓名:来自:file:///D:/Project/.Net Learning/OutlookAddIn3/OutlookAddIn3/bin/Debug/app.publish/OutlookAddIn3.vsto

Name: From: file:///D:/Project/.Net Learning/OutlookAddIn3/OutlookAddIn3/bin/Debug/app.publish/OutlookAddIn3.vsto

从 file:///D:/Project/.Net%20Learning/OutlookAddIn3/OutlookAddIn3/bin/Debug/app.publish/OutlookAddIn3.vsto 读取清单异常:清单可能无效或文件不能打开.

Exception reading manifest from file:///D:/Project/.Net%20Learning/OutlookAddIn3/OutlookAddIn3/bin/Debug/app.publish/OutlookAddIn3.vsto: the manifest may not be valid or the file could not be opened.

************** 异常文本 **************System.Deployment.Application.InvalidDeploymentException:从 file:///D:/Project/.Net%20Learning/OutlookAddIn3/OutlookAddIn3/bin/Debug/app.publish/OutlookAddIn3.vsto 读取清单的异常:清单可能无效或无法打开文件.---> System.Deployment.Application.InvalidDeploymentException:部署清单在语义上无效.---> System.Deployment.Application.InvalidDeploymentException:部署清单要求您指定发布者和产品.在 System.Deployment.Application.Manifest.AssemblyManifest.ValidateSemanticsForDeploymentRole()--- 内部异常堆栈跟踪结束 ---在 System.Deployment.Application.Manifest.AssemblyManifest.ValidateSemanticsForDeploymentRole()在 System.Deployment.Application.Manifest.AssemblyManifest.ValidateSemantics(ManifestType manifestType)在 System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)--- 内部异常堆栈跟踪结束 ---在 Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.GetManifests(TimeSpan timeout)在 Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()

************** Exception Text ************** System.Deployment.Application.InvalidDeploymentException: Exception reading manifest from file:///D:/Project/.Net%20Learning/OutlookAddIn3/OutlookAddIn3/bin/Debug/app.publish/OutlookAddIn3.vsto: the manifest may not be valid or the file could not be opened. ---> System.Deployment.Application.InvalidDeploymentException: Deployment manifest is not semantically valid. ---> System.Deployment.Application.InvalidDeploymentException: Deployment manifest requires that you specify a publisher and a product. at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSemanticsForDeploymentRole() --- End of inner exception stack trace --- at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSemanticsForDeploymentRole() at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSemantics(ManifestType manifestType) at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri) --- End of inner exception stack trace --- at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.GetManifests(TimeSpan timeout) at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()

推荐答案

可能你的 windows 注册名称有一个像*"这样的特殊字符.我建议你更改 windows 注册名称.您可以在 (Win XP) 中从注册表更改它:

Probably your windows registered name have a special character like "*". I suggested to you change windows registered name. you can change it from registry in (Win XP):

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion

更改这些键的值:注册机构注册所有者

change value of these keys: RegisteredOrganization RegisteredOwner

这篇关于清单可能无效或无法打开文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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