Could not load file or assembly

Topics: General
Jul 19, 2012 at 6:10 PM


I use in my project ASP.NET assemblies building from source code. My project builded successful. But when I start in debug mode, I get exception 

Could not load file or assembly 'System.Net.Http.Formatting' or one of its dependencies. Strong name signature could not be verified.  The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)

Jul 19, 2012 at 11:58 PM

Hi Sky Dweller,

Have you run the "strong name hijack" utility to disable verification of signatures for those assemblies? Check out step #3 on the instructions page: