Search code examples
c#reflectionsystem.reflection

C# Assembly Problem for loading


I have a project that uses assembly to load some clases dynamicly nevertheles there is this one class that the current project does not have it as a reference so when i try tu use GetType(type) i just get a null.... what's the bes approach to handle this

should i reference the projects?


Solution

  • You're either failing to load the assembly or the typename is incorrect. Verify that your target assembly doesn't have other dependencies that you're missing.