Solved

Add reference to assembly Microsoft.Practices.EnterpriseLibrary.Common

Posted on 2007-11-15
4
8,247 Views
Last Modified: 2013-11-26
I have a class library and am trying to compile and get the following error:

type 'Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation.IInstrumentationEventProvider' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.Practices.EnterpriseLibrary.Common, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.

I've installed version 3 of the Enterprise Libraries

I tried to add the reference, but I don't see that assembly listed?

It goes from:
Enterprise Library Caching Data Provider Design
to
Enterprise Library Configuration Application Block Design

Any help is appreciated.
Thanks.
0
Comment
Question by:-Dman100-
  • 2
  • 2
4 Comments
 

Author Comment

by:-Dman100-
ID: 20292796
Anyone have any ideas?
0
 
LVL 17

Expert Comment

by:Daniel Reynolds
ID: 20292889
If you have installed the samples, grab the file from the bin directory of one of them.
Microsoft.Practices.EnterpriseLibrary.Common.dll
I think I initially had the same issue and had to browse for the file in the <Add Reference> dialogue.

0
 
LVL 17

Accepted Solution

by:
Daniel Reynolds earned 500 total points
ID: 20292904
Also try adding the .net reference to
Enterprise Library Shared Library
It appears to actually be the .common.dll file

hth
0
 

Author Comment

by:-Dman100-
ID: 20293018
Thanks for the help.  It was the Enterprise Library Shared Library assembly.  That fixed it.
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question