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,把找错误提示的路径的文件删除

你可能感兴趣的:(excel 打开显示安装office自定义项 安装期间出错)