question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

FsCheck installing FSharp.Core

See original GitHub issue

This package, or the current version of it available from Nuget, is installing FSharp.Core v3.1.2.5. This process overwrites the provided VS version, in my case v4.4.0.0 of VS2015 Community Edition. The consequence is version conflicts causing execution failure at runtime. Fortunately, this occurred during unit tests.

The problem is resolved by replacing the referenced FSharp.Core with the VS provided version at: %ProgramFiles(x86)%\Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.4.0.0\FSharp.Core.dll

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:20 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
mikhailshilkovcommented, Jan 18, 2016

Thank you @kurtschelfthout, binding redirect makes the trick

<dependentAssembly>
  <assemblyIdentity name="FSharp.Core" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
  <bindingRedirect oldVersion="4.3.1.0" newVersion="4.4.0.0" />
</dependentAssembly>
0reactions
kurtschelfthoutcommented, Jan 18, 2016

Make sure all versions of FSharp.Core in your solution are the same, and make sure the test assembly has an app.config with binding redirects for FSharp.Core to the latest version.

Read more comments on GitHub >

github_iconTop Results From Across the Web

FSharp.Core 7.0.400
FsCheck. FsCheck is a tool for testing .NET programs automatically. You provide a specification of the program, in the form of properties which...
Read more >
FsCheck 2.16.6
FsCheck helps you to define properties, observe the distribution of test data, and define test data generators. Crucially, when a property fails, FsCheck...
Read more >
Install F# | Microsoft Learn
Install F# with Visual Studio Code ... Select the Extensions icon and search for "Ionide": The only plugin required for F# support in...
Read more >
Announcing F# 7 - .NET Blog
We're happy to announce the availability of F# 7, shipping with .NET 7 and Visual Studio 2022. Check out this next step to...
Read more >
Quick Start
First install FsCheck, open an fsx file and start with: ... Core.dll, open namespace FsCheck, change the language to "C# statements" and you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found