Enterprise library defined in an assembly that is not referenced
Posted on 2007-10-05
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=22.214.171.124, Culture=neutral, PublicKeyToken=null'.