{"id":46839,"date":"2025-05-23T15:33:03","date_gmt":"2025-05-23T18:33:03","guid":{"rendered":"https:\/\/tiproject.online\/index.php\/2025\/05\/23\/could-not-load-file-or-assembly-system-net-http-formatting-or-one-of-its-dependencies-the-located-assemblys-manifest-definition-does-not-match-the-assembly-reference-exception-from-hresult-0x80-150\/"},"modified":"2025-05-23T15:33:03","modified_gmt":"2025-05-23T18:33:03","slug":"could-not-load-file-or-assembly-system-net-http-formatting-or-one-of-its-dependencies-the-located-assemblys-manifest-definition-does-not-match-the-assembly-reference-exception-from-hresult-0x80-150","status":"publish","type":"post","link":"https:\/\/tiproject.online\/index.php\/2025\/05\/23\/could-not-load-file-or-assembly-system-net-http-formatting-or-one-of-its-dependencies-the-located-assemblys-manifest-definition-does-not-match-the-assembly-reference-exception-from-hresult-0x80-150\/","title":{"rendered":"Could not load file or assembly &#8216;System.Net.Http.Formatting&#8217; or one of its dependencies. The located assembly&#8217;s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)"},"content":{"rendered":"<p><img  title=\"\"  alt=\"23114933663131 Could not load file or assembly &#039;System.Net.Http.Formatting&#039; or one of its dependencies. The located assembly&#039;s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)\" decoding=\"async\" src=\"https:\/\/img.ibxk.com.br\/2025\/05\/23\/23114933663131.jpg\" \/><\/p>\n<div id=\"\">&#13;<\/p>\n<td>&#13;<br \/>\n                      <code><\/p>\n<pre>&#13;\n&#13;\n[FileLoadException: Could not load file or assembly 'System.Net.Http.Formatting' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]&#13;\n&#13;\n[FileLoadException: Could not load file or assembly 'System.Net.Http.Formatting, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]&#13;\n   System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0&#13;\n   System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +232&#13;\n   System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection) +113&#13;\n   System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark&amp; stackMark, Boolean forIntrospection) +23&#13;\n   System.Reflection.Assembly.Load(String assemblyString) +35&#13;\n   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +48&#13;\n&#13;\n[ConfigurationErrorsException: Could not load file or assembly 'System.Net.Http.Formatting, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]&#13;\n   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +767&#13;\n   System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +256&#13;\n   System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +58&#13;\n   System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +287&#13;\n   System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies() +69&#13;\n   System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean&amp; isRefAssemblyLoaded) +137&#13;\n   System.Web.Compilation.BuildManager.ExecutePreAppStart() +172&#13;\n   System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +854&#13;\n&#13;\n[HttpException (0x80004005): Could not load file or assembly 'System.Net.Http.Formatting, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]&#13;\n   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +532&#13;\n   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +111&#13;\n   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +724&#13;\n<\/pre>\n<p>                      <\/code>&#13;<br \/>\n&#13;\n                  <\/td>\n<p>&#13;\n               <\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>&#13; &#13; &#13; &#13; [FileLoadException: Could not load file or assembly &#8216;System.Net.Http.Formatting&#8217; or one of its dependencies. The located assembly&#8217;s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]&#13; &#13; [FileLoadException: Could not load file or assembly &#8216;System.Net.Http.Formatting, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&#8217; or one of its dependencies. The located assembly&#8217;s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]&#13; System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0&#13; System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +232&#13; System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark&amp; stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection) +113&#13; System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark&amp; stackMark, Boolean forIntrospection) +23&#13; System.Reflection.Assembly.Load(String assemblyString) +35&#13; System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +48&#13; &#13; [ConfigurationErrorsException: Could not load file or assembly &#8216;System.Net.Http.Formatting, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&#8217; or one of its dependencies. The located assembly&#8217;s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]&#13; System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +767&#13; System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +256&#13; System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +58&#13; System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +287&#13; System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies() +69&#13; System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean&amp; isRefAssemblyLoaded) +137&#13; System.Web.Compilation.BuildManager.ExecutePreAppStart() +172&#13; System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +854&#13; &#13; [HttpException (0x80004005): Could not load file or assembly &#8216;System.Net.Http.Formatting, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&#8217; or one of its dependencies. The located assembly&#8217;s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]&#13; System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +532&#13; System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +111&#13; System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +724&#13; &#13; &#13; &#13;<\/p>\n","protected":false},"author":1,"featured_media":46840,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[37],"tags":[],"class_list":["post-46839","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tecnologia"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/tiproject.online\/index.php\/wp-json\/wp\/v2\/posts\/46839","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tiproject.online\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tiproject.online\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tiproject.online\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tiproject.online\/index.php\/wp-json\/wp\/v2\/comments?post=46839"}],"version-history":[{"count":0,"href":"https:\/\/tiproject.online\/index.php\/wp-json\/wp\/v2\/posts\/46839\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tiproject.online\/index.php\/wp-json\/wp\/v2\/media\/46840"}],"wp:attachment":[{"href":"https:\/\/tiproject.online\/index.php\/wp-json\/wp\/v2\/media?parent=46839"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tiproject.online\/index.php\/wp-json\/wp\/v2\/categories?post=46839"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tiproject.online\/index.php\/wp-json\/wp\/v2\/tags?post=46839"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}