BuildOnSave is an extension for Visual Studio 2019 and 2017 that builds the current solution as soon a file is saved, and in combination with the the extension SaveAllTheTime, enables a live, background build experience while you type.
Features:
There is a menu named BuildOnSave in the Visual Studio menu bar with options to disable BuildOnSave, build the whole solution in its active configuration, or the startup project only. The options are stored per solution.
An output "pane" is registered for BuildOnSave and activates as soon a build starts.
An icon is added to the Standard toolbar that shows the build status for background builds. red: build failed, yellow: build is indeterminate, and green: ready to go. Clicking the icon opens the BuildOnSave output pane.
If you have any problems with BuildOnSave, please report to the issue tracker.
And if SaveAllTheTime might not work correctly with VS2019/2017, use the latest release from here.