Top "Assembly-binding-redirect" questions

Redirect compile-time binding references to .NET assemblies to a different version

Could not load file or assembly System.Web.Http, Version=5.2.2.0

I've just uploaded a Asp.Net Web Api 2.2 project to production server and I got the error stated in the …

asp.net asp.net-web-api web-config assembly-binding-redirect assemblybinding
Assembly Binding redirect: How and Why?

This is not a problem question but a general understanding question on assembly binding redirect's working. Queries Why binding redirect …

c# assembly-binding-redirect
ASP.NET MVC security patch to version 3.0.0.1 breaks build

After installing the ASP.NET MVC 3 security update KB2990942 it appears the MVC version increased from 3.0.0.0 to 3.0.0.1. This causes Visual …

.net asp.net-mvc versioning assembly-references assembly-binding-redirect
Error: Inheritance security rules violated by type: 'System.Web.WebPages.Razor.WebPageRazorHost'

Out of nowhere my ASP.NET MVC 4 solution gives me this error: Inheritance security rules violated by type: 'System.Web.…

c# asp.net-mvc-4 exception assembly-binding-redirect
Adding a bindingRedirect to a .Net Standard library

I have a .Net Standard library, and I'm getting an error when trying to use one of the dependant libraries, …

.net dependencies .net-standard assembly-binding-redirect
Assembly Binding Redirect to a lower version

I am trying to downgrade a NServiceBus dependency so instead of using 4.0.0.0 to use 2.5.0.0 I am trying with the following …

c# .net assembly-binding-redirect
How do I redirect assembly binding to the current version or higher?

Even though my references have Specific Version set to false, I'm getting assembly binding errors because the target machine has …

c# .net app-config assembly-binding-redirect
How to assembly redirect log4net to newer version

I just upgraded log4net in my project and am having some assembly binding issues because a component relies on …

.net .net-assembly assembly-resolution assembly-binding-redirect
Incompatible .NET Standard assemblies that should have been compatible?

I have a .NET Standard 2.0 DLL project. It has no other references, apart from NETStandard.Library 2.0.1 and all is fine. …

c# .net .net-assembly .net-standard-2.0 assembly-binding-redirect
Azure Functions binding redirect

Is it possible to include a web.config or app.config file in the azure functions folder structure to allow …

c# visual-studio-2017 azure-functions assembly-binding-redirect azure-functions-runtime