• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 8542
  • Last Modified:

Add reference to assembly Microsoft.Practices.EnterpriseLibrary.Common

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=, 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
Enterprise Library Configuration Application Block Design

Any help is appreciated.
  • 2
  • 2
1 Solution
-Dman100-Author Commented:
Anyone have any ideas?
Daniel ReynoldsSoftware Applications Developer / IntegratorCommented:
If you have installed the samples, grab the file from the bin directory of one of them.
I think I initially had the same issue and had to browse for the file in the <Add Reference> dialogue.

Daniel ReynoldsSoftware Applications Developer / IntegratorCommented:
Also try adding the .net reference to
Enterprise Library Shared Library
It appears to actually be the .common.dll file

-Dman100-Author Commented:
Thanks for the help.  It was the Enterprise Library Shared Library assembly.  That fixed it.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

7 new features that'll make your work life better

It’s our mission to create a product that solves the huge challenges you face at work every day. In case you missed it, here are 7 delightful things we've added recently to monday to make it even more awesome.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now