Compile errors: Failed to download package correctly

Sep 30, 2014 at 9:42 PM
Edited Sep 30, 2014 at 9:46 PM
Opened the solution in Visual Studio 2012 Ultimate, then ran

PM> Install-Package CodedUI.CodeFirst

Compiled and got these errors:

Error 1 Failed to download package correctly. The contents of the package could not be verified. Microsoft.Services.TestTools.UITesting.Html

Error 2 The command ""C:...\Documents\Mercurial\codeduicodefirst.nuget\nuget.exe" install "C:...\Documents\Mercurial\codeduicodefirst\Library\packages.config" -source "" -o "C:...\Documents\Mercurial\codeduicodefirst\packages"" exited with code 1. Microsoft.Services.TestTools.UITesting.Html

Error 3 Failed to download package correctly. The contents of the package could not be verified. SampleApp

Error 4 The command ""C:...\Documents\Mercurial\codeduicodefirst.nuget\nuget.exe" install "C:...\Documents\Mercurial\codeduicodefirst\SampleApp\packages.config" -source "" -o "C:...\Documents\Mercurial\codeduicodefirst\packages"" exited with code 1. SampleApp

Error 5 Failed to download package correctly. The contents of the package could not be verified. SampleApp.Tests

Error 6 The command ""C:...\Documents\Mercurial\codeduicodefirst.nuget\nuget.exe" install "C:...\Documents\Mercurial\codeduicodefirst\SampleApp.Tests\packages.config" -source "" -o "C:...\Documents\Mercurial\codeduicodefirst\packages"" exited with code 1. SampleApp.Tests

Error 7 Metadata file 'C:...\Documents\Mercurial\codeduicodefirst\Library\bin\Debug\Microsoft.Services.TestTools.UITesting.Html.dll' could not be found
C:...\Documents\Mercurial\codeduicodefirst\Test_Bing_Modular\CSC Test_Bing_Modular

Error 8 Metadata file 'C:...\Documents\Mercurial\codeduicodefirst\Library\bin\Debug\Microsoft.Services.TestTools.UITesting.Html.dll' could not be found
C:...\Documents\Mercurial\codeduicodefirst\Test_Calculator\CSC Test_Calculator_Simple

Error 9 Metadata file 'C:...\Documents\Mercurial\codeduicodefirst\Library\bin\Debug\Microsoft.Services.TestTools.UITesting.Html.dll' could not be found
C:...\Documents\Mercurial\codeduicodefirst\Test_Bing_Simple\CSC Test_Bing_Simple

Appreciate any helps!