assembly-binding-redirect Questions

11

I recently installed CsvHelper (https://joshclose.github.io/CsvHelper/) when i try to use the library I get the following error: Could not load file or assembly 'System.Threading.Tasks.Extension...
Bantling asked 12/2, 2020 at 17:53

2

Solved

I have got a web application with multiple projects that is using newtonsoft 6.0.0.0. Now I have added a stripe dll to two of the projects which turns out that it needs higher newtonsoft. What I ne...
Rutherfurd asked 25/5, 2023 at 9:25

3

Solved

This is not a problem question but a general understanding question on assembly binding redirect's working. Queries Why binding redirect shows only major version and not minor, build and revisio...
Semeiology asked 12/4, 2017 at 9:34

1

Let's say I got projects A, B and C. Project A references projects B (v. 2.0.0.0) and C (v. 3.0.0.0). Project B references only project C (v. 1.0.0.0). We got a conflict on our hands, since project...

9

Solved

I've just uploaded a Asp.Net Web Api 2.2 project to production server and I got the error stated in the title. In my Web.config I already have this: <dependentAssembly> <assemblyIdenti...

4

I am receiving the following warning when I build my solution: The explicit binding redirect on "Microsoft.Azure.Documents.Client, Culture=neutral, PublicKeyToken=31bf3856ad364e35" conflicts wit...
Gravely asked 5/9, 2018 at 23:46

3

Solved

I have developed a MVC application that has dependency on Connectwise SDK that uses Newtonsoft.Json.dll v6.0.0.0 and Dropbox SDK that uses Newtonsoft.Json.dll v7.0.0.0. I need to ensure that my pr...

2

PLEASE NOTE: This is not a duplicate of Could not load file or assembly 'System.ComponentModel.Annotations, Version=4.1.0.0. Unlike the issue linked, this issue occurs only after publishing the...
Palinode asked 13/12, 2017 at 23:46

2

I'm trying to move assembly redirects from web.config into an external file. The reason for it is that I want to keep binding redirect in one place and use it on both debug and production configura...

2

Solved

I have a plugin P extending and application A (.NET40) that I have no control over. The P assembly (.NET40) has a shared dependency D (.NET35). Both P and D depend on FSharp.Core, but different v...

6

Solved

Out of nowhere my ASP.NET MVC 4 solution gives me this error: Inheritance security rules violated by type: 'System.Web.WebPages.Razor.WebPageRazorHost'. Derived types must either match the secur...
Calamitous asked 20/12, 2014 at 3:52

5

The VS solutions I often work with consist of a single executable project (console app, web app) and many class library projects that are all referenced by the executable. When working with NuGet ...
Rather asked 22/1, 2018 at 8:36

2

Solved

I have a legacy app running on an old Windows 2008 R2 server. The app has gone through many .Net versions, and is currently on 4.7.2. It has been stable as a rock for years, and while there are mig...
Ropeway asked 12/5, 2019 at 18:29

2

Solved

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. It is referenced by a WPF application and everything seems to work fine. O...

3

Solved

I have an internal NuGet package that contains a single dll, no external NuGet package dependencies, and no web.config transforms. Yet when i run Update-Package on my projects (class lib and websi...

2

Solved

It seems like there is so many binding redirects in our web.config that I either: look unnecessary are for assemblies I don't see being referenced anywhere in our solution This is just a sample...

1

I'm using Nuget and would like to keep the automatic binding redirects. However for one specific assembly I would like to stop nuget from applying an automatic redirect during package restore. Is ...
Advertence asked 22/12, 2016 at 12:2

6

Is it possible to include a web.config or app.config file in the azure functions folder structure to allow assembly binding redirects?

4

Solved

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 ways, none of which seem to work. <runtime> <assemblyBinding ...
Indulge asked 13/6, 2013 at 17:2

1

I have created an Azure function and as we know it has the package Microsoft.NET.Sdk.Functions 1.0.8 which is dependent on Newtonsoft.Json 9.0.1. I have added another class library as a reference ...
Latecomer asked 3/5, 2018 at 7:32

1

When publishing my asp core project using visual studio a .config file is created alongside my executable. The .config includes a couple of bindingRedirect like this: <?xml version="1.0" encod...
Mesencephalon asked 13/9, 2016 at 9:13

1

I have a .Net Framework 4.6.1 WPF project which references several .Net Standard 2.0 assemblies. Each of these assemblies has one or two dependencies of its own, pulled in from NuGet. When inside o...
Tamratamsky asked 7/12, 2017 at 23:8

1

Solved

I have a .Net Standard library, and I'm getting an error when trying to use one of the dependant libraries, which I believe is down to a version conflict. In an old style .Net Class library, I migh...

2

Solved

I have an old project that I opened on Visual Studio 2017. It starts to warning about a conflict in the assembly System.Runtime.Serialization. The problem here is that the assembly versions have b...
Hb asked 26/5, 2017 at 11:40

0

I am trying to run the migrate.exe application from EntityFramework on a specific DLL. This DLL references the Microsoft.Azure.KeyVault.WebKey nuget package. When I try to run the command ./migra...

© 2022 - 2025 — McMap. All rights reserved.