Posts Tagged ‘Assembly’

Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information


I’m currently developing an application that has a plugin style or loading of DLL dynamically. So this is how I did I have created 4 projects;

  1. Plugin Interface project (Class Library)
  2. Test Plugin project (Class Library)
  3. Consumer project (Class Library) – read and execute the plugins
  4. Windows Apps that uses/references the Consumer project

When I run the #4 project I get this error “Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information“, as I’m just a beginner and can’t find a solution out of my head so I did research on the web and seen lots of solutions and recommendations but none of them works.

Then I tried to have the project referenced from #1 project and you know what it works :) .

, , , ,

No Comments


What is a Assembly?

It is an Output Unit. It is a unit of Deployment & a unit of versioning. Assemblies contain MSIL code.
Assemblies are Self-Describing. [e.g. metadata,manifest]
An assembly is the primary building block of a .NET Framework application. It is a collection of functionality that is built, versioned, and deployed as a single implementation unit (as one or more files). All managed types and resources are marked either as accessible only within their implementation unit, or by code outside that unit.

, ,

No Comments



SetPageWidth