I am currently programming a program in a visual studio using .net 3.5 and microsoft microprocessors to interact with office products. I have a problem with the app.config file. Each time I compile my solution, rebuild it, or create it, a warning appears in the error list.
Conflicts were found between different versions of the same dependent assembly.
when I double-click this message, the visual studio tries to solve the problem, but the next time it is built, the warning appears again. I checked in the app.config file that visual studio is trying to fix the problem and it seems to be inserting these lines
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="office" publicKeyToken="71E9BCE111E9429C" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Vbe.Interop" publicKeyToken="71E9BCE111E9429C" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
, bindRedirect - , , " - ".
- , . .
!
Sheldon