Recently my workstation was migrated from windows 7 to 8.
When I downloaded my project from TFS source control and tried to build it for deployment to my test server, I got these Nuget errors.
How do I fix this?
C:\Builds\4\SCD4\SCD4 - Test\Sources\MVC4\SCD4\.nuget\NuGet.targets (100): Unable to find version '4.0.20710.0' of package 'Microsoft.AspNet.WebApi.Core'.
C:\Builds\4\SCD4\SCD4 - Test\Sources\MVC4\SCD4\.nuget\NuGet.targets (100): Unable to find version '4.0.20710.0' of package 'Microsoft.AspNet.WebApi.WebHost'.
C:\Builds\4\SCD4\SCD4 - Test\Sources\MVC4\SCD4\.nuget\NuGet.targets (100): Unable to find version '2.0.30506.0' of package 'Microsoft.AspNet.WebPages'.
C:\Builds\4\SCD4\SCD4 - Test\Sources\MVC4\SCD4\.nuget\NuGet.targets (100): Unable to find version '2.0.20710.0' of package 'Microsoft.AspNet.WebPages.Data'.
C:\Builds\4\SCD4\SCD4 - Test\Sources\MVC4\SCD4\.nuget\NuGet.targets (100): Unable to find version '2.0.20710.0' of package 'Microsoft.AspNet.WebPages.OAuth'.
C:\Builds\4\SCD4\SCD4 - Test\Sources\MVC4\SCD4\.nuget\NuGet.targets (100): Unable to find version '2.0.20710.0' of package 'Microsoft.AspNet.WebPages.WebData'.
C:\Builds\4\SCD4\SCD4 - Test\Sources\MVC4\SCD4\.nuget\NuGet.targets (100): Unable to find version '2.0.20710.0' of package 'Microsoft.Net.Http'.
C:\Builds\4\SCD4\SCD4 - Test\Sources\MVC4\SCD4\.nuget\NuGet.targets (100): Unable to find version '5.0.8' of package 'Newtonsoft.Json'.
C:\Builds\4\SCD4\SCD4 - Test\Sources\MVC4\SCD4\.nuget\NuGet.targets (100): The command ""C:\Builds\4\SCD4\SCD4 - Test\Sources\MVC4\SCD4\.nuget\NuGet.exe" install "C:\Builds\4\SCD4\SCD4 - Test\Sources\MVC4\SCD4\SCD4\packages.config"
-source "" -NonInteractive -RequireConsent -solutionDir "C:\Builds\4\SCD4\SCD4 - Test\Sources\MVC4\SCD4\ "" exited with code 1.