UPDATE
Visual Studio 2017 Intellisense may slowly update after adding a package System.ValueTupleand continue to display squigglies errors, even if there is no compilation error. Compiling the project shows that named tuples work. A quick fix is to reopen the source file or solution.
ORIGINAL
, " System.ValueTuple'2 is not defined or imported. System.ValueTuple NuGet, .
:
class Program
{
static (double lat, double lng) GetLatLng(string address)
{
return (1, 1);
}
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
var ll = GetLatLng("some address");
Console.WriteLine($"Lat: {ll.lat}, Long: {ll.lng}");
}
}
, Visual Studio 2017, NuGet , Options > Text Editor > C# > Advanced > Using Directives.
Suggest usings for types in NuGet packages Install package 'System.ValueTuple':

Find this type on nuget.org - ReSharper