在Development Dynamics CRM 2011中找不到类型或名称空间名称

问题描述 投票:1回答:1

我必须做一些逆向工程。无论如何,我基于Dynamics CRM 2011插件开发了decompiled插件。请参考此link。我创建一个新的类库,我解决了大多数错误。但是存在一些错误,其中一个是最重复的!实体存储库调用的所有位置,例如QuoteProduct Entity

QuoteProductRepository quoteProductRepository = new QuoteProductRepository(context);

编译器说:

Severity    Code    Description Project File    Line    Suppression State
Error   CS0246  The type or namespace name 'QuoteReceiptStepRepository' could not be found (are you missing a using directive or an assembly reference?)    

我应该在项目中添加什么参考?

.net visual-studio dynamics-crm dynamics-crm-2011 crm
1个回答
0
投票

根据其用法,我们可以看到QuoteProductRepository是一个类。由于它不是Microsoft \ Dynamics CRM类,因此它必须是在反编译的原始.dll上使用的第三方代码段。

我在这里看到两个选项:

  1. 它在您已分解的.dll的名称空间中声明。如果是这样,请在那里寻找。
  2. 它是在另一个.dll上声明的,该.dll由您反编译的.dll引用。在这种情况下,您需要获取另一个.dll才能查看其实现。
© www.soinside.com 2019 - 2024. All rights reserved.