c# - NuGet Restoration Never Works on Build Server -


i have pretty simple application nuget references , works fine locally. have not committed packages folder of course, config. when have teamcity build solution, got error needed enable nuget package restore did.

now when build message

the build restored nuget packages. build project again include these packages in build. more information, see http://go.microsoft.com/fwlink/?linkid=317568.

makes sense, error no matter how many times build it. continually fails. missing here?

run nuget package restore before build solution.

team city should have nuget installer step restore nuget packages. add build steps before compilation of solution.

you build step runs:

nuget.exe restore yoursolution.sln 

however team city's built in nuget build step allows configure other things, such private nuget repository urls, easier creating own build step scratch.


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -