Do you know when to use an on-premises build server with Visual Studio Online?
  v4.0 Posted at 19/02/2021 11:15 AM by Tiago Araujo

If you are using Visual Studio Online, there's an awesome Hosted Buil​d Server option you can use to perform your builds with little to no setup. But if you're working on a project that has continuous integration and a long build time, it's not long before those build mi​nutes start to add up.

To reduce your build costs, you could reduce the number of builds or try to reduce the build time. Continuous integration is very important so you don't want to turn that off, and we encourage checking in early and often. Reducing the build time is a nice idea, but you can't always reduce it enough to make a difference.

For large, expensive projects, the best option is to configure an on-premises build server rather than using hosted builds.

To configure an on-premises build server for Visual Studio Online, check out Anthony Borton's great walkthrough:


Once you have a build server configured, you'll be able to see the build controller as an option when you configure a new build definition.

Figure: Good Example - We have the option of an on-premises build controller as well as the Hosted Build controller

Related rules

    Do you feel this rule needs an update?

    If you want to be notified when this rule is updated, please enter your email address: