ca9163d9
ca9163d9

Reputation: 29159

Visual studio 2017 create invalid Nuget reference of System.ValueTuple (4.3.1) for new F# .Net core project?

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.

Solution Explorer

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

Answers (1)

Devon Burriss
Devon Burriss

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.

Github issue

Upvotes: 1

Related Questions