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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T18:33:19+00:00 2026-05-15T18:33:19+00:00

According to the documentation for System.Assembly : The LoadFile and LoadFrom methods are provided

  • 0

According to the documentation for System.Assembly:

The LoadFile and LoadFrom methods are provided for rare scenarios in which an assembly must be identified by path.

They suggest that you would more commonly load an assembly by its display name (for example, “System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”).

This doesn’t make any sense to me. If you wanted to reference an assembly by its version and public key, you would add a reference at compile time; you wouldn’t be loading it at runtime using the Assembly class. The typical scenario for loading an assembly at runtime is when you’re loading a plug-in, which would be done by path — since you’re either scanning a directory for plug-ins, or reading some kind of manifest that says where they’re located.

Why do the docs say that, among scenarios where you’re dynamically loading an assembly, loading it by path is “rare”? As far as I can tell, it’s loading it by display name that would be rare.

  • 1 1 Answer
  • 1 View
  • 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-15T18:33:20+00:00Added an answer on May 15, 2026 at 6:33 pm

    Well, it ought to be rare since it is so troublesome. But yes, plug-ins tend to be loaded by LoadFrom(). Never by LoadFile(), that’s asking for real trouble.

    The trouble is that you cannot really predict what’s going to happen with the assemblies that the plug-in depends on. Getting those resolved properly is a crapshoot. The solution you should favor is a .config file so that you can use Load() and probing paths are predictable.

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

Sidebar

Ask A Question

Stats

  • Questions 493k
  • Answers 493k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer for such type you can first try searching in search… May 16, 2026 at 10:48 am
  • Editorial Team
    Editorial Team added an answer $("input [name='documents[]'][value='"+item.id+"'"]).length This property will have a length value greater… May 16, 2026 at 10:48 am
  • Editorial Team
    Editorial Team added an answer I tried some coding that visual studio suggest and this… May 16, 2026 at 10:48 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

According to the documentation : An app is a Web application that does something
According to the documentation for API function GetNamedSecurityInfo , it can get information from
According to the documentation for Google App Engine for Java: The App Engine Java
according to the documentation, the method String.valueOf(Object obj) returns: if the argument is null
According to MSDN, System.Int32 is immutable, and its members always return new instances. Some
The JDK documentation on java.util.Map states The order of a map is defined as
I have a datetime object, for which I want to create a date string
I'm trying to store an empty Access database (.mdb) as a resource in my
I was wondering, is there anyway to get the current time of a CalendarEntry,
I'm building an ASP.Net MVC website. Rather than have everything in one project, I've

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.