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 6761053
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:08:26+00:00 2026-05-26T14:08:26+00:00

I am running into an unusual issue with assembly loading. Let’s say we have

  • 0

I am running into an unusual issue with assembly loading. Let’s say we have Foo.dll which references FooInfra.dll version 1.0.0.0 that is strong name signed.

We are using an external executable to load Foo.dll and call MyMethod() within it. For some reason, when running the exe in a specific mode, let’s call it Mode A, MyMethod() succeeds to run even if FooInfra.dll version 2.0.0.0 is deployed by accident. If running it in “Mode B” we get the expected error that the correct assembly was not found.

My question: how is this possible? I thought with strong named assemblies, the correct version must be used. I already attached with windbg to make sure that it is not loading FooInfra.dll from a different place in Mode A, and it is not – it is really loading version 2.0.0.0.

Is it possible that in Mode A, the external executable loads the DLL explicitly, bypassing the strong name check when MyMethod runs, since the assembly is only loaded?

Any insight on the issue, or how to debug/diagnose would be greatly appreciated. Thanks!

  • 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-26T14:08:26+00:00Added an answer on May 26, 2026 at 2:08 pm

    You aren’t specifying how the load is differing in each case. Also – rather than windbg I’d use Fusion to log your assembly loading. It will show you what paths are being probed and you can see if it is completely ignoring the strong name in case 2.

    Without more technical details beyond that provided its hard to say. If foo does have the reference (check in reflector) to the strong named assembly USING the strong name as well, Id expect it to fail but its possible there is documentation in however you are loading in mode A that by design it skips checks (again more detail required)

    You are by any chance using the -Vr option are you?
    http://www.lookout.net/2006/04/09/bypassing-strong-name-verification-for-a-net-assembly/

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

Sidebar

Related Questions

We're running into transaction issue with Grails. During performance test we have a scenario,
Running into an issue, which most likely is a permission thing with Facebook, but
I'm running into an issue with the DecimalConverter and Int32Converter classes, which seem to
I am currently running into an issue of calling an Win32 DLL[Native] from a
Running into a problem. I have a table defined to hold the values of
EDIT: I am basically running into the following documented issue . I am using
I am running into an error I am having trouble figuring out. I have
I'm running into an odd issue retrieving printer port addresses. When I get all
After running into linker errors one time too many, I have come to the
After running into this issue for the 10 billionth time and nearly whipping my

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.