In Windows 8 and above, the .NET Framework is an operating system component and cannot be independently uninstalled. In general, you should not uninstall any versions of the .NET Framework that are installed on your computer, because an application you use may depend on a specific version of the .NET Framework.
https://docs.microsoft.com/en-us/dotnet/framework/install/troubleshoot-blocked-installations-and-uninstallations
Try the following steps to see whether you can restore System.ValueTuple 4.5
package in your TFS build:
Go to your build server, open your project in VS, and try to restore System.ValueTuple 4.5
package from Package Manager, to see whether you can get it restored:
Install-Package System.ValueTuple -Version 4.4.0
Delete packages
folder in your project if you have.
Make sure you have the following item in the packages.config
file:
<package id="System.ValueTuple" version="4.5.0" targetFramework="net452" />
This package requires NuGet 2.12 or higher. When using NuGet 3.x this package requires at least version 3.4.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…