Put your CPU's cores to use and minimize the time to wait for your build!
BuildOnSave is an extension for Visual Studio 2017 and 2019 that builds the current solution as soon a file is saved, and combined with the extension SaveAllTheTime, enables a live background build experience.
- There is a menu named BuildOnSave in the Visual Studio menu bar with options to disable BuildOnSave and to specify what exactly should be built. Options are stored per solution.
- A "BuildOnSave" pane is shown as soon a build starts.
- An icon is added to the Standard toolbar that shows the build status for background builds. red for build failed, yellow to show that the build is indeterminate, and green means the build succeeded. If the icon shows an outline instead of a filled circle, the build process is active. Clicking the icon opens the BuildOnSave pane.
These options define what happens as soon a file is saved.
- Build Solution
Rebuilds the complete solution.
- Build Startup Project
Rebuilds the startup project.
Download & Installation
Development & Contribution
Clone the repository and open
BuildOnSave.sln in Visual Studio.
To start the Experimental Instance of Visual Studio for debugging BuildOnSave (F5 or Ctrl+F5), add the following to the Debug tab of the project properties:
- Start external program:
C:\Program Files (x86)\Microsoft Visual Studio\2017\[Edition]\Common7\IDE\devenv.exe
- Command line arguments:
Debug information is written to a local Seq server. Install Seq to take a look at the logs.
Copyright (c) 2019, Armin Sander
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.