2016-06-20 12 views
0

Visual Studio Team Servicesのビルドおよび学習プロセスではかなり新しくなっています。 ソリューションを作成し、Visual Studio Team Servicesでビルド定義を作成しました。私はそれを構築するとき、私は、これらのログの詳細と、エラーを得た:最後のエラーVisual Studio Team Servicesは、Nugetのためにビルドエラーが発生します

016-06-20T16:34:57.2842078Z Restoring NuGet package log4net.2.0.3. 
2016-06-20T16:34:57.2892077Z Restoring NuGet package Microsoft.Azure.WebJobs.1.1.1. 
2016-06-20T16:34:57.3452071Z WARNING: Unable to find version '1.1.1' of package 'Microsoft.Azure.WebJobs'. 
2016-06-20T16:34:57.3462075Z C:\Users\buildguest\AppData\Local\NuGet\Cache: Package 'Microsoft.Azure.WebJobs.1.1.1' is not found on source 'C:\Users\buildguest\AppData\Local\NuGet\Cache'. 
2016-06-20T16:34:57.3462075Z WARNING: Unable to find version '2.0.3' of package 'log4net'. 
2016-06-20T16:34:57.3472076Z C:\Users\buildguest\AppData\Local\NuGet\Cache: Package 'log4net.2.0.3' is not found on source 'C:\Users\buildguest\AppData\Local\NuGet\Cache'. 
2016-06-20T16:34:57.4162071Z Restoring NuGet package Microsoft.Data.Edm.5.6.2. 
2016-06-20T16:34:57.4432070Z WARNING: Unable to find version '5.6.2' of package 'Microsoft.Data.Edm'. 
2016-06-20T16:34:57.5062068Z C:\Users\buildguest\AppData\Local\NuGet\Cache: Package 'Microsoft.Data.Edm.5.6.2' is not found on source 'C:\Users\buildguest\AppData\Local\NuGet\Cache'. 

:私はローカルでビルドする実行している場合は

2016-06-20T16:34:57.9012078Z ##[error]System.Exception: Unexpected exit code 1 returned from tool NuGet.exe 
2016-06-20T16:34:57.9022088Z ##[error] at Microsoft.TeamFoundation.DistributedTask.Task.Internal.PowerShell.InvokeToolCmdlet.ProcessRecord() 
2016-06-20T16:34:57.9022088Z ##[error] at System.Management.Automation.CommandProcessor.ProcessRecord() 

、nugetは、任意のエラーを報告することはありません。私はなぜオンライン版が不平を言うのか本当に理解しない。助けてもらえますか?

答えて

1

これは、3.3から3.43へのnuget.exeの更新によって発生します。 MSはこのための修正プログラムに取り組んでいます。詳細はIssues with Hosted Build in Visual Studio Team Services – 6/20 – Investigatingのこのリンクを参照してください。

Update: Monday, 20 June 2016 22:10 UTC

The update to nuget.exe from 3.3 to 3.4.3 has been identified as the root cause of the active restore problems. We are working on a hotfix to restore the previous nuget version on the build agents.

We will update this post as the hotfix progresses.

Sincerely, Sri Harsha

Initial Update: Monday, 20 June 2016 19:40 UTC We are actively investigating issues with the build agents of Visual Studio Team services related to nuget package restore. Some customers may experience Build failures due to nuget packages being restored incorrectly in the Build Agents.

Next Update: Before 22:00 UTC We are actively working to resolve this issue and apologize for any inconvenience.

Sincerely, Manohar

関連する問題