Requires Free Membership to View
<?xml version="1.0" encoding="utf-8" ?> <configuration> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="ServerLib" publicKeyToken="ada0a9d1dd805043" culture="neutral" /> <codeBase version="1.0.0.0" href="c:\SharedDependencies\ServerLib.dll"/> </dependentAssembly> </assemblyBinding> </runtime> </configuration>If you are trying to share assemblies between multiple applications, you should consider using the Global Assembly Cache (GAC), which removes the need for specifying a publisher policy to override how the runtime locates assemblies. The runtime always looks to the GAC first for an assembly. This also requires that assemblies are strongly named, but in general using strong names is recommended so that you can leverage version control and security features of the .NET runtime.
For sample code and a brief article related to this subject, see the following link:
http://www.dotnetdashboard.com/DesktopDefault.aspx?tabindex=13&tabid=89
This was first published in February 2004

Join the conversationComment
Share
Comments
Results
Contribute to the conversation