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
Post a Comment