“Predefined type System.ValueTuple is not defined or imported” after upgrading to .NET 4.7

后端 未结 2 540
抹茶落季
抹茶落季 2021-01-01 12:56

I\'m upgrading an existing solution from .NET 4.6.2 to .NET 4.7. This solution depends on several nuget packages that target .NET 4.6.2 and hence depend on the nuget System.

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-01 13:33

    In Visual Studion ,NuGet package System.ValueTuple provides the ValueTuple types. So Update System.ValueTuple to latest version v4.4.0. Means Upgrade the System.ValueTuple to higher version then the current or previous one.

提交回复
热议问题