web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

VS Display The type or namespace name could not be found on EntityRepository

(0) ShareShare
ReportReport
Posted on by 458

I had to do some reveres engineering. Anyways, I developed a plugin for Dynamic 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?

*This post is locked for comments

I have the same question (0)
  • Albert_ Profile Picture
    458 on at
    RE: VS Display The type or namespace name could not be found on EntityRepository

    Hi there sir, Thank you.

    Could you take a look at this question?

    community.dynamics.com/.../854575

  • Verified answer
    Arun Vinoth Profile Picture
    11,615 Moderator on at
    RE: VS Display The type or namespace name could not be found on EntityRepository

    The assembly dll you decompiled is a set of class libraries that you reengineered. Great.

    Now that assembly might have other references like different dll from different project which includes a class file for QuoteProductRepository. That’s missing.

    You have to get that assembly too decompiled.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Aric Levin - MVP Profile Picture

Aric Levin - MVP 2 Moderator

#2
MA-04060624-0 Profile Picture

MA-04060624-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans