O'Reilly logo

.NET Common Language Runtime Unleashed by Kevin Burton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Determining Assembly Load Failures

With managed code and the CLR, an assembly might not load properly. This usually is the result of an assembly being in the incorrect location or having been renamed, or because of a version or culture mismatch. For whatever reason, it can be annoying when the application will not run because of this error. It is often difficult to trace down the cause of this error. (Compare this to the old problem that was encountered when a DLL could not be found.) A tool called the Assembly Binding Log Viewer (fuslogvw.exe) can help diagnose a problem when an assembly does not load correctly.

In Chapter 14, you saw an application called ThreadPoolTest.exe that created an AppDomain, loaded an Assembly into that AppDomain

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required