Newly added type can't be resolved #147
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
s. http://stackoverflow.com/questions/20386894/importing-a-newly-created-type-into-another-assembly-fails
Caching should be used in all overloads of
DefaultAssemblyResolver.Resolveand should also be used when an assembly is read viaAssemblyDefinition.ReadAssembly.I disagree the resolver should not be used when you call ReadAssembly. This call explicitly asks to read the assembly from whatever you pass, a filename or a byte[].
The way to achieve this is to create your own resolver which extends the DefaultAssemblyResolver, and to register the assemblies with the resolver.