What are the steps for making domain-neutral assemblies?

Posted by Mystagogue on Stack Overflow See other posts from Stack Overflow or by Mystagogue
Published on 2010-06-17T00:24:45Z Indexed on 2010/06/17 0:32 UTC
Read the original article Hit count: 257

Filed under:
|
|

...and can those steps also be applied to a 3rd party assembly (that might already be strong-named)?

The context for my question should not be important, but I'll share anyway: I'm thinking of making a logger (or log-wrapper) that always knows what "log source" to target, regardless of whether the assemblies using it are in one appdomain, or spread across several appdomains. I think one way to achieve that, is to have a domain-neutral assembly with a static "LogSource" property. If that static property is set in a domain-neutral assembly, I think all appdomains will see it.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET