Posts Tagged ‘Assembly’
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information
Posted by: admin in Reflection on July 20th, 2010
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;
- Plugin Interface project (Class Library)
- Test Plugin project (Class Library)
- Consumer project (Class Library) – read and execute the plugins
- 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
.
What is a Assembly?
Posted by: admin in .NET, Definition on March 31st, 2009
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.