Possibly a deployment problem?

Topics: Data Access Application Block
Oct 17, 2007 at 12:10 PM
Im a newbie with EL and just wanted to start of by running the Example Code seen on this page:

ms-help://MS.VSCC.v80/MS.VSIPCC.v80/ms.EntLib.2007Apr/EnterpriseLibrary/html/04-000-IntroductiontotheDataAccessApplicationBlock.htm

I cannot get it to work as this error is shown:

The 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.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.

I have already added a reference to this DLL, though, by finding it in my EL source folder. In Object browser I can see that the IInstrumentationEventProvider interface is part of the assembly. I get the same error in both EL 3.0 and 3.1.

My setup is:
Win xp
visual studio 2005
sql-express
Oct 22, 2007 at 10:39 PM
Hi,

The version of the assembly that you will find in the EL source will be unsigned. You need to get the version from the install folder, tipically c:\Program Files\Microsoft Enterprise Library 3.1 - May 2007\bin.

Hope this helps,
Fernando