In a WPF app I'm working on, I added a method that returns a tuple. Initially it didn't work. Researching why I learned that I had to add System.ValueTuple 4.5.0 NuGet package into the project. I did so, which resolved the issue. At least on my dev box.
However, it isn't building on our TFS 2015 build server. I had thought that including the NuGet package would handle any issues with System.ValueTuple during the build. The build server has .NET 4.5.2 on it. (Same as the VS project). I read on this Stack Overflow post that downgrading System.ValueTuple to 4.3 would help to resolve the issue. I tried that, but it didn't work. TFS still gives errors indicating it doesn't understand the syntax of a tuple.
I'd like to ask then, is it possible to get System.ValueTuple 4.5.0 NuGet installed on the TFS build server?
If the answer to that question is no, or it doesn't make sense, then is the only option to install .NET 4.7.2 (or higher) on the build server?