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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T04:20:31+00:00 2026-05-18T04:20:31+00:00

I am not a .NET developer, so there might be some basic things I

  • 0

I am not a .NET developer, so there might be some basic things I don’t know.

I have some experience coding in C#, but now I have a question. One of my projects (A) references another ptoject (B), with “local copy” set. When B.dll is in the same location as A.exe everything works. But when B.dll is put in a common directory from PATH it doesn’t work.

One of my coworkers said he thought I should make B strongly signed. Is he correct? Is that why one would strongly sign an assembly?

I read a bit about in in the internet but all I saw was about security… If so, how does one sign an assembly and what consequences does it have? Please note that I am using VS2003 .Net 1.1.

Edit: Thank you all very much for your answers, however all the links you provided refer to later versions of VS and .NET which have some sort of Signing tab in project properties. Does anybody know (or give a link )how to strongly name the assembly in VS2003 .Net1.1?

  • 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-18T04:20:32+00:00Added an answer on May 18, 2026 at 4:20 am

    I think that what your co-worker might be referring to is “Strong Naming” an Assembly.
    Strong Naming is what enables you to deploy your assembly to the GAC.

    Once it is in the GAC, then any application using that assembly can always locate it. Path’s are irrelevant and that is the preferred way to have shared assemblies deployed.

    To strong name an assembly, you can use the sn.exe tool that comes with Visual Studio to generate a strong name and then sign the assembly using the keyfile that is generated via sn.exe.

    EDIT : Example of how to use SN.exe to strong name an assembly is here

    Also, I think you should understand how the runtime loads assemblies. From MSDN

    The runtime uses the following steps to resolve an assembly reference:

    Determines the correct assembly version by examining applicable
    configuration files, including the application configuration file,
    publisher policy file, and machine configuration file.

    If the configuration file is located on a remote machine, the
    runtime must locate and download the application configuration file
    first.

    Checks whether the assembly name has been bound to before and, if so,
    uses the previously loaded assembly.

    Checks the global assembly cache. If the assembly is found there, the
    runtime uses this assembly.

    Probes for the assembly using the following steps: If configuration
    and publisher policy do not affect the original reference and if the
    bind request was created using the Assembly.LoadFrom method, the
    runtime checks for location hints.

    If a codebase is found in the configuration files, the runtime checks
    only this location. If this probe fails, the runtime determines that
    the binding request failed and no other probing occurs.

    Probes for the assembly using the heuristics described in the probing
    section. If the assembly is not found after probing, the runtime
    requests the Windows Installer to provide the assembly. This acts as
    an install-on-demand feature.

    Note: There is no version checking for assemblies without strong
    names, nor does the runtime check in the global assembly cache for
    assemblies without strong names.

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

Sidebar

Related Questions

This is probably a simple question but I am not an ASP.NET developer and
I have a folder with some DLLs in it (not .NET assemblies) and I
First off, let me start off that I am not a .net developer. The
This is ASP classic, not .Net. We have to get a way to SFTP
I'm trying to use TestDriven.Net not only to test my code, but to call
There's another post on SO relating to .NET -- not us. Pure PHP. Trying
Are there O/R mapping tools for ASP (not ASP.NET) and are these useful in
In ASP.NET (not MVC), what is the best approach to programmatically setting styles on
Let me preface by saying I am not knocking .Net (it helps me earn
At what point is it better to switch from java.net to java.nio? .net (not

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.