Assembly Display Names

An assembly display name should include the assembly simple name, version, culture and public key token. The assembly simple name is usually the file name of the assembly without the extension (“.dll” or “.exe”). For example, the assembly display name for the v1.0 system.dll assembly is: System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 All of those components are…

32

Debugging Assembly Loading Failures

So…you’re seeing a FileNotFoundException, FileLoadException, BadImageFormatException or you suspect an assembly loading failure? Try the steps below to start your debugging process. First, get the Message property from the exception. If the exception’s InnerException property is set, get the Message property from that. If the message is generic, also get the hresult by calling System.Runtime.InteropServices.Marshal.GetHRForException(),…

108