?
Solved

Add reference to assembly Microsoft.Practices.EnterpriseLibrary.Common

Posted on 2007-11-15
4
Medium Priority
?
8,326 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-
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

777 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