Link to home
Create AccountLog in
Avatar of mugsey
mugseyFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Enterprise library defined in an assembly that is not referenced

I am getting the following error whils trying to compile my class library within an asp.net app.  I think the problem is that I am switching between different PCs.  

The error occurs here

 Database db = DatabaseFactory.CreateDatabase();

Only "Database" is underlined as 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=2.0.0.0, Culture=neutral, PublicKeyToken=null'.      
ASKER CERTIFIED SOLUTION
Avatar of SQL_SERVER_DBA
SQL_SERVER_DBA
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer