Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Consider app.config remapping of assembly asp.net mvc

$
0
0

Using an ASP.NET MVC project that targets .NET Framework 4.6.1. I have updated the nuget package Antlr to v3.5.0.2 after building project vs start I get a warning

Consider app.config remapping of assembly "Antlr3.Runtime, Culture=neutral, PublicKeyToken=eb42632606e9261f" from Version "3.4.1.9004" [] to Version "3.5.0.2"

So I have added binding reference in web.config like this:

<dependentAssembly><assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" /></dependentAssembly>

After adding this to web.config I got rid of the warning message in msbuild.But, I am going to use this project dll in another 50 projects. After updating this dll into another project those start giving me same warning message. so, do we need to modify all 50 project web.config and all this binding reference?

What is best way to get rid of this warning message?

In other project we have directly reference Antlr3 dll we are not using nuget.


Viewing all articles
Browse latest Browse all 3067

Trending Articles