简体   繁体   English

System.AddIn,AddInStore.Rebuild导致UnauthorizedAccessException

[英]System.AddIn, AddInStore.Rebuild causes UnauthorizedAccessException

my application is loading addins dynamically and when i add a new module i need to Rebuild the Pipeline segments cache, but the app doesn't have write permissions in the program folder and causes a UnauthorizedAccessException. 我的应用程序正在动态加载插件,当我添加一个新模块时,我需要重建管道段缓存,但该应用程序在程序文件夹中没有写入权限并导致UnauthorizedAccessException。 i don't want to copy the addins in a temporary directory or the users application directory. 我不想在临时目录或用户应用程序目录中复制插件。

is there a way to find/activate new added addins without rebuilding the pipeline segments cache ? 有没有办法找到/激活新添加的插件而无需重建管道段缓存?

我不确定,但也许有它将工作AddInStore.Update

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM