Information générale
Titre:
Assembly.Load question...
I have been playing with NHibernate latley. It uses log4net which is an apache open source project.
The interesting thing is that I don't have to add log4net as a reference to my project. My understanding is that NHibernate does an Assembly.Load() of log4net if needed.
My question is, when the IDE/Compiler is running on this project, what doesn't it give you unreferenced error messages since the log4net types are loaded at run time?
Does the compiler see the assembly.load() in the code and deal with that. Also, what if you load different assemblies depending on some config or something.
Any help on this topic would expand my feeble and aging mind. Yes, my co-worker just reminded me that I am 3 months from marking another decade.
BOb
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement