I am building an application in Visual Studio 2017 intended to be run on a Windows XP machine, but being able to use C# 7.0 tuple literals would be an ideal component to my solution.
I thought I could just add two nuget packages, Microsoft.Net.Compilers
and System.ValueType
, to enable my executable to use the syntax like (string foo, string bar)
but I'm getting a syntax error, CS8179 C# Predefined type is not defined or imported
. Visual Studio's ctrl + .
feature tries to get me to nuget-install System.ValueType
, but it's already installed in the project. Another option is use local version 4.4.0
, but selecting that option doesn't actually do anything.