【发布时间】:2016-04-15 17:39:21
【问题描述】:
我正在尝试创建 Outlook 2010 插件。我刚刚创建了标准项目,尝试运行它时出现以下错误...
访问被拒绝。 (来自 HRESULT 的异常:0x80070005 (E_ACCESSDENIED))
*****异常文本** ***** System.UnauthorizedAccessException:访问被拒绝。 (来自 HRESULT 的异常:0x80070005 (E_ACCESSDENIED)) 在 System.Deployment.Internal.Isolation.IsolationInterop.GetUserStore(UInt32 标志,IntPtr hToken,Guid & riid) 在 System.Deployment.Internal.Isolation.IsolationInterop.GetUserStore() 在 System.Deployment.Application.ComponentStore..ctor(ComponentStoreType storeType, SubscriptionStore subStore) 在 System.Deployment.Application.SubscriptionStore..ctor(字符串 deployPath,字符串 tempPath,ComponentStoreType 存储类型) 在 System.Deployment.Application.SubscriptionStore.get_CurrentUser() 在 System.Deployment.Application.DeploymentManager..ctor(Uri 部署源,布尔 isUpdate,布尔 isConfirmed,DownloadOptions 下载选项,AsyncOperation optionalAsyncOp) 在 System.Deployment.Application.InPlaceHostingManager..ctor(Uri 部署清单,布尔 launchInHostProcess) 在 Microsoft.VisualStudio.Tools.Applications.Deployment.IPHMProxy..ctor(Uri uri) 在 Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.get_Proxy() 在 Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.GetManifests(时间跨度超时) 在 Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()
有人对此有想法吗?
【问题讨论】:
标签: vsto outlook-addin outlook-2010