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

Get .NET Common Language Runtime Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.