本文介绍了如何部署加载项......?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 我使用C#2008创建了一个Addin,当我尝试从VS addin项目运行它时,它的工作非常好,但是当我尝试部署它时抛出错误 - "未知错误"。 当我在.addin文件中提供我的dll的完整路径时,它运行正常 - < 装配 > C:\Temp \ AgentPlugins.dll < / 程序集 > < FullClassName > AgentPlugins.Connect < / FullClassName > ; 当我用汇编代替我的路径时引用它的投掷错误 - < 程序集 > AgentPlugins,Version = 1.0.3426.22629,Culture = Neutral,PublicKeyToken = 2d9166dc10ec37ea < / 装配 > < FullClassName > AgentPlugins.Connect < / FullClassName > 我不知道还有什么需要部署插件。 中心,谢谢你。 vishwas Srivastava 解决方案 你把装配放在gac中吗??希望这有帮助:) https://msmvps.com/blogs/carlosq/archive/2009/06/29/the-strange-case-of -error-0X80070005-QUOT-禁止访问的使用-peverify-EXE-与-AN-加载引用-A-视觉工作室组装-未在最gac.aspx QUOT- -Paras Hi,I have created one Addin using C# 2008, its working absloutly fine when i am trying to run it from VS addin project, but when i am trying to deploy it is throwing and error - "Unknown Error".When i am providing full path of my dll in .addin file it's running fine - < Assembly>C:\Temp\AgentPlugins.dll</Assembly><FullClassName>AgentPlugins.Connect</FullClassName>But when i am replacing my path with assembly reference its throwing error - < Assembly>AgentPlugins, Version=1.0.3426.22629, Culture=Neutral, PublicKeyToken=2d9166dc10ec37ea</Assembly><FullClassName>AgentPlugins.Connect</FullClassName>i am not getting an idea what else is need to deploy an addin.ThanksVishwas.vishwas Srivastava 解决方案 Have you put the assembly in the gac??Hope this helps :)https://msmvps.com/blogs/carlosq/archive/2009/06/29/the-strange-case-of-error-0x80070005-quot-access-denied-quot-using-peverify-exe-with-an-add-in-referencing-a-visual-studio-assembly-not-in-the-gac.aspx-Paras 这篇关于如何部署加载项......?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 10-16 15:17