G
Guest
Hi,
I have created a custom membership provider for an ASP.NET web app which
depends of the Enterprise Library (Data, Exception) handling blocks. This
code currently runs from the App_Code folder fine. I now want to separate
this code into its own class library.
I have created the separate class library, and added the necessary references.
However, i noticed the Common & Object Builder DLL's don't get added
automatically like they do in a web app.
So i have been forced to add them manually. In the case of the common.dll it
doesn't even show up in the .NET tab
in the references dialog, so i have had to browse the the directory
containing the src files.
Anyway after doing this, i still get and error when i try and build my class
library :
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.1.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
Can anyone please help?
Cheers,
Adam
I have created a custom membership provider for an ASP.NET web app which
depends of the Enterprise Library (Data, Exception) handling blocks. This
code currently runs from the App_Code folder fine. I now want to separate
this code into its own class library.
I have created the separate class library, and added the necessary references.
However, i noticed the Common & Object Builder DLL's don't get added
automatically like they do in a web app.
So i have been forced to add them manually. In the case of the common.dll it
doesn't even show up in the .NET tab
in the references dialog, so i have had to browse the the directory
containing the src files.
Anyway after doing this, i still get and error when i try and build my class
library :
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.1.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
Can anyone please help?
Cheers,
Adam