[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Add reference to assembly Microsoft.Practices.EnterpriseLibrary.Common

Posted on 2007-11-15
4
Medium Priority
?
8,443 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 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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Loops Section Overview
Suggested Courses
Course of the Month19 days, 18 hours left to enroll

873 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