Cake for Visual Studio
Adds support for the Cake build tool in Visual Studio 2017, 2019, and 2022. Includes support for the Task Runner Explorer, new item and project templates and bootstrapping important Cake files
Originally based off Mads Kristensen's Brunch Task Runner extension.
In order to use this extension, you must have Cake installed on your machine or in your solution.
Use chocolatey to install it globally by typing the following in an elevated command prompt:
Alternatively, if you have run the bootstrapper at least once, Visual Studio should automatically discover it (see below).
The Cake Task Runner automatically triggers when it finds
Task Runner Explorer
Open Task Runner Explorer by right-clicking the Cake script and select Task Runner Explorer from the context menu:
Individual tasks will be listed in the task list on the left.
Each task can be executed by double-clicking the task.
Task bindings make it possible to associate individual tasks with Visual Studio events such as Project Open etc.
These bindings are stored in your
The runner will automatically use a project-local copy of Cake if it is already present in the current directory or one of the default paths. However, at this time, it will not automatically download Cake for you.
Choose Cake Build from the Build menu to quickly install the default bootstrapper scripts or Cake configuration files into your solution.
The extension includes an item template for build scripts and project templates for Cake modules, addins, and unit tests.
Check out the Cake contribution guidelines if you want to contribute to this project.