已完成

Solve binding redirect warning in Visual Studio project build output

I have a project which has several NuGet packages installed. It seems the NuGet package manager automatically generates binding redirects to assemblies, and somehow this is creating a conflict, that ultimately is resolved during the build, but still generates a warning.

I've used the same packages in other projects before, but today after installing, I started getting warnings like this (and several other similar warnings) in the build output:

Severity Code Description Project File Line Suppression State

Warning The explicit binding redirect on "[url removed, login to view], Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" conflicts with an autogenerated binding redirect. Consider removing it from the application configuration file or disabling autogenerated binding redirects. The build will replace it with: "<bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0" xmlns="urn:schemas-microsoft-com:[url removed, login to view]" />".

I'm looking for someone who is experienced in resolving this warning to walk me through how to fix it-- maybe by editing the config? I belive everything should run just fine as it is, but I'm not one to leave warnings in my projects.

C# Visual Studio Community 2017

I've attached the App.config which has the binding redirects, I believe.

技能: C# 编程

查看更多: autogeneratebindingredirects not working, autogeneratebindingredirects visual studio 2017, generatebindingredirectsoutputtype, automatic binding redirection, nuget binding redirects, autogeneratebindingredirects xamarin, <autogeneratebindingredirects>true</autogeneratebindingredirects>, msbuild bindingredirect, ffmpeg visual studio project, visual studio project encrypt 3des, open visual studio project dreamweaver, visual studio project help desk, visual studio project blender, face recognition visual studio project, oracle nested scripts visual studio project, visual studio project cads, aes visual studio project, decomile exe visual studio project, decompile visual studio project, visual studio project web forms

关于此雇主:
( 11个评论 ) Nashville, United States

项目ID: #16907694

授予:

Saravanan0887

binding redirect warnings only show for .net 4.7 and lower. If I change the target framework to 4.7.1 then the warnings go away. Please try this and let me know.

$15 USD 在1天内
(2条评论)
1.5

8 威客就此工作平均出价 $43

sergioeliot3

Hi Sir! I have experienced this problem in the past as well. And I have managed to solve it. I think in this case, as I do not have a recipee for doing this, I can work on my side troubleshooting these warnings, 更多

$60 USD 在2天内
(44条评论)
5.9
wasifmuneer

Hello, Please give me chance to discuss the project details over chat. I am MS full stack developer/consultant having expertise in developing web, desktop and mobile applications using MS stack, and I am offering 更多

$50USD 在1天里
(11条评论)
4.3
TSCreators

hi , i am expert in .net development show me your project i will check it what issue you facing . waiting for your message regards tscreators

$40 USD 在10天内
(8条评论)
3.8
huongth

Hi. I am an expert in VBA, VBScript, Visual Basic, C#, F#, C, C++, ASM, Delphi, Java, iMacros, Flash, ASP, ASP.NET, Access, MySQL, MSSQL, QuickBooks, Oracle

$40USD 在1天里
(3条评论)
1.9
devshadab92

A proposal has not yet been provided

$35USD 在1天里
(0条评论)
0.0
GustafStefansson

I possess vast experience in the areas concerned: design, coding, testing and documentation, analyzing and error correction on existing source code (automating where suitable) using the mentioned tools.

$47 USD 在10天内
(0条评论)
0.0
parthmehta17888

Hello Employer, Greetings For the day! I would like to suggest few steps. please try it may be resolve the error. 1. Remove the [login to view URL] from your project. 2. Take the backup of the project and 更多

$55 USD 在2天内
(0条评论)
0.0