I had to do some reverse engineering.
Anyways, I developed a plugin for Dynamics CRM 2011
based on the decompiled
plugin. Refer to this link.
I create a new Class Library,
I solved most of error.
But some errors exist,One of them is the most repeated !
Everywhere that entity repository has called,for example for QuoteProduct Entity
:
QuoteProductRepository quoteProductRepository = new QuoteProductRepository(context);
The compiler says :
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?)
What Reference Should I add to the project?
From its usage, we can see that QuoteProductRepository
is a class. Since it's not a Microsoft\Dynamics CRM class, it must be a third-party piece of code that was used on the original .dll you decompiled.
I see two options here: