Solved

Add reference to assembly Microsoft.Practices.EnterpriseLibrary.Common

Posted on 2007-11-15
4
8,139 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:xDJR1875
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:
xDJR1875 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now