This is a super handy method, but "referenced" has two meanings:
- Referenced by linker (CSPROJ file)
- Referenced by compiler (CS file)
GetReferencedAssemblies only provides DLLs which satisfy both meanings.
Some DLLs with no compiler-references I wish to still be present in GetReferencedAssemblies. Specifically to call reflected-only methods in an otherwise "unreferenced" DLL, if that makes sense.
Wish to avoid a "plugin" directory/manual scan - it's very clumsy during the development process. Can we tweak the linker/DLL's etc. so that GetReferencedAssemblies returns all DLLs satisfying meaning #1? Thank you!
Aucun commentaire:
Enregistrer un commentaire