c# - CI Build on TeamCity Fails due to dependency on Microsoft.Bcl -


when try , build project in teamcity (or in clean repository on machine), fails error message

the schema version of 'microsoft.bcl' incompatible version 1.7.30402.9028 of nuget. please upgrade nuget latest version <nuget url>... 

i've set nuget.targets restore packages, , not require user interactions accept licenses. in addition both local machine , build server have restore packages setting enabled (in project/env variable appropriate).

i'm aware of issue http://blogs.msdn.com/b/dotnet/archive/2013/06/12/nuget-package-restore-issues.aspx. i've tried second , third options suggested here, without success.

does have suggestions how resolve error?

turns out version of nuget held in .nuget folder of solution out of date. version visual studio uses had updated correctly, command line version didn't.

i followed instructions described here nuget versioning issue package restore resolve problem.

in solution directory run these commands:

cd .nuget nuget.exe update -self 

Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -