Skip to content

Guides

Installing Visual Studio components in CI

A required VS workload is missing and installing it takes fifteen minutes.

4 min read

A required VS workload is missing and installing it takes fifteen minutes.

Why it happens

Runner images ship common workloads only, and vs_installer is slow.

How to fix it

  1. Use vs_installer modify --add with the specific component ID rather than a full workload
  2. Bake the component into a custom image if it is needed on every run
  3. Check whether the component is already present before installing

Your next build could be twice as fast, at half the price

Start free. Migrating away is the same one line, and we publish that diff too.