Here is the scenario
A.dll references B.dll (2.0.0.0)
A.dll references C.dll and C.dll references B.dll (1.0.0.0)
Obviously, msbuild will invoke the warning below since B.dll versions conflict. Automatically it will pick the latest version since I denied creating app.config file automatically in csproj file.
Warning: MSB3276 - Found conflicts between different versions of the same dependent assembly. Please set the "AutoGenerateBindingRedirects"
And I do not want to redirect anything since neither one will work with each other versions.
Question:
How do I get rid of this warning or suppress it ?
Note: Both assemblies will be installed in GAC at the time of installation process so runtime references will resolve just fine. Sadly, there seems no way to indicate MSBuild to let go of this warning.