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 :) .

, , , ,

  1. No comments yet.
(will not be published)
Submit Comment

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Subscribe to comments feed
  1. No trackbacks yet.

SetPageWidth