I don’t know if maybe I have something installed incorrectly, but having made a C# Portable Class Library targeting .NET for Windows Store apps, .NET Framework 4.5, Silverlight 4 and higher, Windows Phone 7 and higher, I’m getting errors that System.Tuple is missing.
How could this be?
Tuple[<...>]doesn’t exist in Windows Phone 7, so you can’t use it if you are targeting that platform.I’ve just validated, and if you create a PCL targeting:
but not “Windows Phone 7 and higher”, then it works fine and you can use
Tuple[<...>].For completeness, it also doesn’t exist if you include Xbox 360.