Reputation: 29159
I have Visual Studio V15.7.5. It always generates a reference to System.ValueTuple (4.3.1) after new F# .Net core projects are created.
And it also has a compiling warning of
Warning NU1701 Package 'System.Linq.Queryable 4.0.1' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.1'. This package may not be fully compatible with your project. WebApplication6
Upvotes: 0
Views: 167
Reputation: 2532
Upgrade System.ValueTuple
to version 4.5.0 and the issue will be resolved.
EDIT
You can do this through the nuget manager by clicking on the Browse tab. Search for System.ValueTuple
, make sure version 4.5.0 is selected (or maybe latest if this is viewed later), and click Install.
Upvotes: 1