MVP< URL:http://dotnet.mvps.org/> VB< URL:http://classicvb.org/petition/>Take a look at the documentation for ''System.Reflection.Assembly.Load*''.--M S Herfried K. WagnerM V P <URL:http://dotnet.mvps.org/>V B <URL:http://classicvb.org/petition/> 看一看''System.Reflection.Assembly.Load *''的文档。 MS Herfried K. Wagner MVP< URL:http:// dotnet。 mvps.org/> VB< URL:http://classicvb.org/petition/> Take a look at the documentation for ''System.Reflection.Assembly.Load*''. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> DLL将一直保持加载状态加载DLL的appdomain和/或从$ DLL获得的类型信息将被释放。如果你想卸载一个DLL,你将需要使用辅助appdomain和远程 接口: < URL:http://www.west-wind.com/presentations/DynamicCode/DynamicCode.htm> - > 了解.Net如何加载代码 - MS Herfried K. Wagner MVP< URL:http ://dotnet.mvps.org/> VB< URL:http://classicvb.org/petition/>The DLL will remain loaded until the appdomain that loaded the DLL and/orobtained type information from the DLL will be released. If you want tounload a DLL, you''ll have to work with a secondary appdomain and remoteinterfaces:<URL:http://www.west-wind.com/presentations/DynamicCode/DynamicCode.htm>-> "Understanding how .Net loads code"--M S Herfried K. WagnerM V P <URL:http://dotnet.mvps.org/>V B <URL:http://classicvb.org/petition/> 这篇关于在运行时添加新引用...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 08-23 12:34