简体   繁体   中英

C# DiffSharp v0.7.7 Looking for FSharp.Core v4.4.0.0

I've been trying to use the most recent version of DiffSharp (v0.7.7) with C#. I keep getting the following error:

Error 3 Assembly 'DiffSharp, Version=0.7.7.0, Culture=neutral, PublicKeyToken=null' uses 'FSharp.Core, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' which has a higher version than referenced assembly 'FSharp.Core, Version=4.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

It seems to be looking for FSharp.Core Version 4.4.0.0. As far as I'm aware - no such thing exists. Or am I wrong? I'm using Visual Studio 2012 on Windows 10 and have updated absolutely everything I could think of. My .Net build is 4.6.1.

I tried doing this fix also mentioned in Stack Overflow: Could not load file or assembly FSharp.Core, Version=4.0.0.0 Azure Web Role

but it didn't yield anything.

Has anyone had similar experiences like this?

Any thoughts/ideas/solutions would be greatly appreciated.

Ran in to the same problem with diffSharp and C#. I solved issue by adding the FSharep.core nuget packet to project. Install-Package FSharp.Core -Version 4.7.0

虽然我没有解释为什么 FSharp.Core 版本 4.4.0 包不再可用,但我发现后来的 4.5.0 包(截至 2021 年 1 月可用)对我有用。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM