我正在尝试创建一个 Outlook 2010 插件。我刚刚创建了标准项目,尝试运行它时出现以下错误...
访问被拒绝。(来自 HRESULT 的异常:0x80070005 (E_ACCESSDENIED))
** * **异常文本** * **** System.UnauthorizedAccessException:访问被拒绝。(来自 HRESULT 的异常:0x80070005 (E_ACCESSDENIED))在 System.Deployment.Internal.Isolation.IsolationInterop.GetUserStore(UInt32 Flags, IntPtr hToken, Guid& riid) 在 System.Deployment.Internal.Isolation.IsolationInterop.GetUserStore() 在 System.Deployment .Application.ComponentStore..ctor(ComponentStoreType storeType, SubscriptionStore subStore) 在 System.Deployment.Application.SubscriptionStore..ctor(String deployPath, String tempPath, ComponentStoreType storeType) 在 System.Deployment.Application.SubscriptionStore.get_CurrentUser() 在系统。在 System.Deployment.Application.InPlaceHostingManager 的 Deployment.Application.DeploymentManager..ctor(Uri deploymentSource,Boolean isUpdate,Boolean isConfirmed,DownloadOptions downloadOptions,AsyncOperation optionalAsyncOp)
有人对此有任何想法吗?