C# 및 VSTO를 사용하여 Visual Studio 2013에서 Excel 용 플러그인 (리본)을 개발 중입니다. 지금까지 그렇게 좋았습니다. 이제 설치 프로그램을 만들고 싶습니다. Visual Studio 용 InstallShield 한정판을 사용하고 있습니다. 여기 제공된 지침을 따랐습니다 http://msdn.microsoft.com/en-us/library/cc442767.aspx (사용자 별 설치, 응용 프로그램 수준 추가 기능).Excel VSTO 추가 기능 배포 오류
컴파일 및 설정은 문제없이 해결됩니다. 그러나 Excel을 열면 다음과 같은 경고 메시지가 표시됩니다.
Name:
From: file:///C:/Program Files (x86)/DCDB/ExcelInterface.vsto
************** Exception Text **************
Microsoft.VisualStudio.Tools.Applications.Deployment.InstallAddInFailedException: The customization cannot be run because
the solution ID in the document does not match the customization. Contact your administrator for further assistance.
at Microsoft.VisualStudio.Tools.Office.Runtime.OfficeAddInDeploymentManager.RefreshCustomization(Customization cust,
AddIManifestsDownloadedArgs args)
at
Microsoft.VisualStudio.Tools.Office.Runtime.OfficeAddInDeploymentManager.OnAddInManifestsDownloaded(AddInManifestsDownloade
dArgs args)
at
Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.RaiseOnAddInManifestsDownloadedEvent(I
ClickOnceAddInInstaller addInInstaller, Uri deploymentManifestUri, AddInInstallationStatus addinSolutionState, String
productName, String deploymentManifestXml, String applicationManifestXml, String hostManifestXml, String logFilePath,
String version, Uri supportUri)
at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()
at Microsoft.VisualStudio.Tools.Office.Runtime.SolutionInstaller.<>c__DisplayClass7. <Install>b__0()
저는 인터넷에서 검색 중이며 답변이 없습니다. 오류 메시지의 성격을 이해할 수 없습니다. 어떤 아이디어?
이 문제에 대한 해결책을 얻었습니까? 동일한 문제가 발생하지만 내 문서 수준 추가 기능에 대한 것입니다. – KSK