나는 다음과 같은 예외가 얻을 다른 컴퓨터에 설치하려고 반면에 FTP 서버에서 아웃룩 2007 VSTO 추가 기능을 설치할 수 없습니다 :다른 기계
이[12:22:33] Shekhar Pandey: Name: OutlookAddIn1
From: https://www.emailcipher.com/outlook/OutlookAddIn1.vsto
Exception Text
System.Security.SecurityException: Customized functionality in this application will not work because the certificate used to sign the deployment manifest for OutlookAddIn1 or its location is not trusted. Contact your administrator for further assistance.
at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInTrustEvaluator.VerifyTrustPromptKeyInternal(ClickOnceTrustPromptKeyValue promptKeyValue, DeploymentSignatureInformation signatureInformation, String productName)
at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInTrustEvaluator.VerifyTrustUsingPromptKey(Uri manifest, DeploymentSignatureInformation signatureInformation, String productName)
at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.VerifySecurity(ActivationContext context, Uri manifest, AddInInstallationStatus installState)
at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()
The Zone of the assembly that failed was: MyComputer
[12:22:48] Shekhar Pandey:
Exception Text
System.Security.SecurityException: Customized functionality in this application will not work because the certificate used to sign the deployment manifest for OutlookAddIn1 or its location is not trusted. Contact your administrator for further assistance.
at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInTrustEvaluator.VerifyTrustPromptKeyInternal(ClickOnceTrustPromptKeyValue promptKeyValue, DeploymentSignatureInformation signatureInformation, String productName)
at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInTrustEvaluator.VerifyTrustUsingPromptKey(Uri manifest, DeploymentSignatureInformation signatureInformation, String productName)
at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.VerifySecurity(ActivationContext context, Uri manifest, AddInInstallationStatus installState)
at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()
The Zone of the assembly that failed was: MyComputer
배포 매니페스트의 URL은 다음과 같습니다 https://www.emailcipher.com/outlook/OutlookAddIn1.vsto
을VSTO Addin을 어떻게 배포 할 수 있습니까?
그래서 내 플러그인을 설치할 모든 클라이언트 컴퓨터를 변경해야합니다. 다른 방법이 있습니까 –
https://www.emailcipher.com/outlook/setup.exe 내 플러그인에 대한 링크입니다. 시스템에서도 확인하십시오. –
@SonikaSood VSTO를 배포하는 자체 Setup.exe가있는 경우 순수한 ClickOnce 배포보다 약간 쉽습니다. 이 코드를 사용하여 설치 프로세스 중에 포함 목록에 인증서를 추가 할 수 있습니다. http://stackoverflow.com/questions/40025720/unable-to-run-excel-vsto-add-ins/40042872#40042872 적어도 Setup.exe가 로컬 경로에 매니페스트를 배포하면 VSTO의 신뢰를 성공적으로 사용할 수 있습니다. (Excel VSTO Addin을 배포하는 내 Setup.exe에서 동일한 코드를 사용하고 있습니다.) – haindl