Reputation: 14314
I am using Team Services for my application build/deploy but I am finding that the build step is extremely slow. It ranges in time from 6 minutes to sometimes 15 minutes just for the solution build. A large proportion of this time is taken up by the nuget package restore, which can be up to 5 minutes.
The way I see it there are 2 potential ways in which I could speed up the build time, but I am unsure if it is possible to do these things:
Does anyone know if either of these things are possible, or does anyone have any other tips on how to speed up the build step?
Upvotes: 2
Views: 489
Reputation: 59018
If you're using the hosted queue, it has to clone the repo and restore the packages every time -- you don't get a dedicated agent, so every build is from scratch.
You can set up an on-premise build agent if you need capabilities that exceed those of the hosted agent.
Upvotes: 3