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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T07:58:48+00:00 2026-05-31T07:58:48+00:00

I have reviewed several other posts about how to get the CLR to find

  • 0

I have reviewed several other posts about how to get the CLR to find an assembly that is not in the same folder or any subfolder of the executable and am unable to get it to work for me. ClassLibrary1.dll is an unsigned assembly. The examples show:

<configuration> 
<runtime> 
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> 
        <dependentAssembly> 
            <assemblyIdentity name="ClassLibrary1"/> 
            <codeBase version="1.0.0.0"                    
                href=file:///C:\somepath\subfolder\ClassLibrary1.dll"/> 
        </dependentAssembly> 
    </assemblyBinding> 
</runtime> 
</configuration> 

I created a console application and put the above with the proper path in its configuration file, but still get a message indicating that it cannot find ClassLibrary1.dll. I used FUSLOGVW and it did not even check in the folder supplied in the CodeBase element. Does anyone know why this does not work?

  • 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-31T07:58:50+00:00Added an answer on May 31, 2026 at 7:58 am

    From MSDN:

    If the assembly has a strong name, the codebase setting can be anywhere on the local intranet or the Internet. If the assembly is a private assembly, the codebase setting must be a path relative to the application’s directory.

    It means that if you do not sign your assembly then it must be located in the application folder or in a sub-folder of the application folder. If you want to put your application in c:\Program Files\MyApplication and your assembly in c:\MyAssemblies you have to sign the assembly.

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

Sidebar

Related Questions

Based on other posts and a Goog search, I have tried several variations to
Thank you for submitting APPNAME_HERE. We have reviewed your application and have determined that
Ok I have reviewed several postings here and elsewhere regarding setInterval in jquery/javascript the
We have a workflow where committed code needs to be reviewed by other devs.
I have created a template in Word 2007 with several fields that I want
I have reviewed a lot of information about these things, but can't understand what
I have reviewed the web attempting to find a solution to this. I have
I have reviewed the content of some of the currently best Android apps (not
I have an ORU R01 version 2.4 message that I'm trying to get through,
I have reviewed quite a few posts on this site concerning this issue with

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.