This simple VB.NET example shows how to hook the AssemblyResolve event and provide different functionality for assembly resolution using an environment variable similar to Java's CLASSPATH. The benefit of this over configuration files is that it is easier to control this environment variable at runtime.
|