Systemowe powiązanieRedirect dla F # 4.0.0.0 do 4.3.0.0
Mam kilka testów xUnit, które nie działają poprawnie
Could not load file or assembly 'FSharp.Core, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
The system cannot find the file specified.
Aby wykonać przekierowanie na całym komputerze, dodałem do pliku
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="FSharp.Core" publicKeyToken="b03f5f7f11d50a3a"
culture="neutral"/>
<bindingRedirect oldVersion="4.0.0.0" newVersion="4.3.0.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
Czy masz lepszy sposób na rozwiązanie problemu 4.0 / 4.3?