插件与引用不工作于2011年CRM [英] Plugin with references not working on CRM 2011

查看:97
本文介绍了插件与引用不工作于2011年CRM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个插件,用来参考,我创建了另一个项目(DLL)。问题是,当我尝试运行插件,我得到一个CRM错误说:




无法加载文件或程序集XXX,版本= 1.0.0.0,文化=中性公钥= a760feb9ec7271a9'或它的一个依赖。该系统找不到指定的文件。




有没有人有解决这个任何想法?


< DIV CLASS =h2_lin>解决方案

您必须引用的程序集部署无论对GAC或与您一(与ILMerge)合并为



参见 http://msdn.microsoft.com/en-us/library/gg309620.aspx 创建一个单一的CRM DLL插件在CRM数据库存储


I have created a plugin and used a reference to another project (DLL) I have created. The problem is when I try to run the plugin, I get a CRM error saying:

Could not load file or assembly 'XXX, Version=1.0.0.0, Culture=neutral, PublicKeyToken=a760feb9ec7271a9' or one of its dependencies. The system cannot find the file specified.

Does anyone have any idea on solving this one?

解决方案

You have to deploy the referenced assembly either to the GAC or merge it with your one (with ILMerge)

See also http://msdn.microsoft.com/en-us/library/gg309620.aspx and Creating a single CRM plugin DLL to store in the CRM database

这篇关于插件与引用不工作于2011年CRM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆