TunaAdmiral
MIS
I am attempting to use reflection to load a dll on the fly. The dll in question is sitting in a directory named C:\MyAssemblies. I have added a reference to the dll in my project, and have specified the "Copy to local" option as false. The point is to be able to use the dll with dozens of programs, needing only modify the single dll if a change is required. The strange thing is, I got this to work the first day I tried it, now I'm completely stumped. I keep receiving the following error:
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'MyAssembly3, Version=2.0.0.0, Culture=neutral, PublicKeyToken=755b0617700642ba' or one of its dependencies. The system cannot find the file specified. File name: 'MyAssembly3, Version=2.0.0.0, Culture=neutral, PublicKeyToken=755b0617700642ba' at Reflection_Test.Module1.Main()
Any ideas?
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'MyAssembly3, Version=2.0.0.0, Culture=neutral, PublicKeyToken=755b0617700642ba' or one of its dependencies. The system cannot find the file specified. File name: 'MyAssembly3, Version=2.0.0.0, Culture=neutral, PublicKeyToken=755b0617700642ba' at Reflection_Test.Module1.Main()
Any ideas?