Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的应用程序在应用程序执行期间多次加载相同的 DLL。
AssemblyName assemblyName = AssemblyName.GetAssemblyName(plugin.FullPathToDLLFile); loadedPlugin.LoadedAssembly = System.Reflection.Assembly.Load(assemblyName);
我是否使用 AppDomain 重新使用它们或如何?
关于它应该如何正常完成的任何线索?
谢谢!
Assembly in one concrete version is only loaded once regardless of Assembly.Load calls count.