Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 338009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T10:23:21+00:00 2026-05-12T10:23:21+00:00

I have a dll project that references Microsoft.Practices.EnterpriseLibrary.Common.dll (= the dll ) from my

  • 0

I have a dll project that references Microsoft.Practices.EnterpriseLibrary.Common.dll (=”the dll“) from my install dir of the Microsoft Enterprise Library 3.1. It has a public key that starts with “b03f”.
I have another project that references Miner.Geodatabase.dll version 9.30.2.5168 (It shows 9.2.0.0 in the GAC folder). The Miner dll has a public key starting with “196b”.
A third dll references the other two.

Here’s a simple vs2005 solution with the above projects
ELTest.rar –
1. RefEL, just references the dll from its lib folder.
2. RefGeodatabse, just references the Miner.Geodatabase.dll from the GAC.
3. RefBoth, references the other two projects.

After compilation, the bin/debug folder of the RefEL contains the “b03f” (“real”) version of the dll, while the bin/debug of RefGeodatabase and RefBoth contain a version of the dll with a public key starting with “196b” – same as the Miner dll. It seems to me they have recompiled the enterprise library (and possibly changed something).
At runtime (In my real solution, not in this bogus solution), my “both” projects calls the “EL” project, that needs the “b03f” dll, can’t find it, and crashes.

What am I supposed to do? Maybe if I register the Enterprise Library dlls in the GAC they will be found at runtime. Is there a different solution that does not require me to install the entlib on my target computer?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T10:23:21+00:00Added an answer on May 12, 2026 at 10:23 am

    Well, I’ve decided to register the normal (“b03f”) version of the enterprise library in my GAC (and also on the production computers). I’ve used this link to register all the dlls at once. worked like a charm.

    Now, my RefEL project references the GAC version of the dll, and even though the RefGeodatabase has Miner.Geodatabase.dll, which references the “196b” version from the GAC with CopyLocal=true, at runtime my project finds the “b03f” version in the GAC and doesn’t crash.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a class library project that references the version 4.1 Microsoft.Practices.Common dll. I
I have a project that I am working on that references a Common Library
I have a Browser Helper Object project in c# that (obviously) references shdocvw.dll. I
I have an executable project called A.EXE which references a C# class library B.DLL.
I have a native VC++ project that uses a dll (which is not in
I have two projects, the DLL project which has all my logic and data
I have a dll that must be useable from C etc, so I cant
I have a simple .NET 4.0 web forms app that references the Microsoft.ReportViewer namespace:
We have a project with many dll files which get loaded when the application
I have 3 .net projects. Project1.dll is generated by a VS2008 project. Project2.dll is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.