2

I'm loading an assembly at runtime and the question that arises everytime I call the code is that should I be checking if that particular assembly has loaded already? or does .Net take care of this and one assembly (same version) can only be loaded once? The basic question here is do i have to iterate through a list of loaded assemblies and see if my assembly was already loaded or not? Thanks

starblue
  • 55,348
  • 14
  • 97
  • 151
Murtaza Mandvi
  • 10,708
  • 23
  • 74
  • 109

1 Answers1

7

To quote MSDN: "If an assembly with the same identity is already loaded, LoadFrom returns the loaded assembly even if a different path was specified. "

Mehrdad Afshari
  • 414,610
  • 91
  • 852
  • 789