Not all assemblies are being loaded into AppDomain from the bin folder
问题 I have the following method that should retrieve a list of loaded local (in bin folder) assemblies: static IEnumerable<Assembly> GetLocalAssemblies() { Assembly callingAssembly = Assembly.GetCallingAssembly(); string path = new Uri(Path.GetDirectoryName(callingAssembly.CodeBase)).AbsolutePath; var assemblies = AppDomain.CurrentDomain.GetAssemblies(); return assemblies.Where(x => !x.IsDynamic && new Uri(x.CodeBase).AbsolutePath.Contains(path)).ToList(); } But, the list of assemblies is missing