|
|
||||||
|
#1
|
|
|
|
|
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.Inst rumentation.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 |
|
|
|
#2
|
|
|
|
|
Problem solved!
Cheers, Adam "AJ" wrote: [..] |
|
#3
|
|
|
|
|
"AJ" wrote:
[..] |
|
#4
|
|
|
|
|
How did you fix this Adam?
"AJ" wrote: [..] |
|
#5
|
|
|
|
|
Hi , can you please explain how you solved the problem ?
I got the same. TIA |
|
#6
|
|
|
|
|
I managed to fix this.
It appeared that I had older versions of the "Common.dll" being referenced. Once I completely removed the DLL, copied over the 3.1.0 version to my centralised DLL folder and re-referenced this DLL in my projects, the error was gone. "rocsebastien" wrote: [..] |
|
#7
|
|
|
|
|
Add the "Enterprise Library Shared Library" reference. This will effectively
add Microsoft.Practices.EnterpriseLibrary.Common to your reference list. |
|
#8
|
|
|
|
|
Thx!!!
"Derrick Ribilla" wrote: |
|
|
| Similar Threads | |
| linktime error for function overloads in template class when library is a dynamic library I have a weird linktime problem that I hope people can shed some light on. This is for some code I am working on. I didn't write it. The linktime problem only happens when... |
|
| Class Library Versus Control Library Hi Can someone please explain the difference (if any) between a Control Library project and a Class Library project and when/why u would use one over the other. Thanks in... |
|
| [Old Topic Re-Post] MSDN Library - Add Enterprise Library Documentation Still no input, reposting .. last OP - 07/21/2006 Basically, how do we go about merging the existing help collection with new collection (custom) help (such as the... |
|
| MSDN Library - Add Enterprise Library Documentation In the .Net IDE, I can hit F1 (open help) on an Enterprise Library element and it will bring up the Enterprise Library documentation in MSDN (help application). If I just... |
|
| Basic How To Question: Class Library or Windows Control Library I have several applications which mine web sites for personal information which they publish. They publish the info in one form, I transform the info into Excel... |
|
|
All times are GMT. The time now is 04:49 AM. | Privacy Policy
|