微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

excel 打开显示安装office自定义项 安装期间出错

名称:

从:file:///D:/办公/Visual.Studio.2012/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.QualityTools.LoadTestExcelAddIn.vsto

 

**************异常文本 **************

System.ArgumentException:值不在预期的范围内。

   在System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32errorCode,IntPtr errorInfo)

   在System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)

   在Microsoft.VisualStudio.Tools.Office.Runtime.Interop.VSTOEENativeMethods.GetValidCompatibleFramework(StringcompatibleFrameworkXml)

   在Microsoft.VisualStudio.Tools.Office.Runtime.CompatibleFrameworksValidation.ParseFirstValidFramework(StringcompatibleFrameworksXml)

   在Microsoft.VisualStudio.Tools.Office.Runtime.OfficeAddindeploymentManager.OnAddInManifestsDownloaded(AddInManifestsDownloadedArgsargs)

   在Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddindeploymentManager.RaiSEOnAddInManifestsDownloadedEvent(IClickOnceAddInInstalleraddInInstaller,Uri deploymentManifestUri,AddInInstallationStatusaddinSolutionState,String productName,String deploymentManifestXml,StringapplicationManifestXml,String hostManifestXml,String logFilePath,Stringversion,Uri supportUri)

   在 Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddindeploymentManager.InstallAddIn()


解决方法一:

VSTO加载项异常。
点开发工具---Com加载项--取消Load Test Excel AddIn前面的勾,关闭,重启Excel应该就不会出现这个问题了

解决方法二:

电脑安装了Visual.Studio,把找错误提示的路径的文件删除

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐