DevCity.Net - Sharing libraries without placing them to the GAC
"You may want to use this when, for example, you want to keep a few libraries with some business login on a remote file server on the network and have the ability to easily update these libraries without sending their copies to all users of an application. Or Maybe you may want to share a few libraries between several applications on a computer to quickly update the libraries in one place, but you can not use GAC for some reason.
How to implement
Every time the .NET runtime cannot find the necessary library in an application directory or GAC it raises a special event - AssemblyResolve - of the Application object. A developer can subscribe to this event to implement custom logic. ..."
A short How To on using the AssemblyResolve event to access/share assemblies without using the GAC...
No comments:
Post a Comment
NOTE: Anonymous Commenting has been turned off for a while... The comment spammers are just killing me...
ALL comments are moderated. I will review every comment before it will appear on the blog.
Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...
I reserve, and will use, the right to not approve ANY comment for ANY reason. I will not usually, but if it's off topic, spam (or even close to spam-like), inflammatory, mean, etc, etc, well... then...
Please see my comment policy for more information if you are interested.
Thanks,
Greg
PS. I am proactively moderating comments. Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...