Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Assembly.Load question...
Message
De
25/02/2005 11:21:56
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Assembly.Load question...
Divers
Thread ID:
00990569
Message ID:
00990569
Vues:
57
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
Fil
Voir

Click here to load this message in the networking platform