![]() |
VOOZH | about |
dotnet new install Cake.Template@6.2.0
This package contains templates for creating Cake build scripts and projects using Cake.Sdk.
cakeminimalfile#:sdk Cake.Sdk directivedotnet new cakeminimalfilecakefile#:sdk Cake.Sdk directivedotnet new cakefile--name or -n: The name for the generated cake.cs file. Default: folder name--IncludeExampleProject: Include example project structure with solution, main project and test project. Default: falsecakemultifile#:sdk Cake.Sdk directivedotnet new cakemultifile--name or -n: The name for the generated cake.cs file. Default: folder namecakeprojdotnet new cakeproj--name or -n: The name for the generated project folder. Default: folder name--Framework: Target framework (net8.0, net9.0, net10.0). Default: net9.0cakeglobaljsondotnet new cakeglobaljson--SdkVersion: The .NET SDK version to use. Default: SDK version Cake.Template was built with--CakeSdkVersion: The Cake.Sdk version to use. Default: current package versionCreate a trivial file-based build script (requires .NET 10). This example will simply print 'Hello World!' to the screen at run time. The goal of this example is to demonstrate that dotnet can run a cake script with the help of the Cake SDK:
dotnet new cakeminimalfile
Create a file-based build script (requires .NET 10):
dotnet new cakefile
Create a file-based build script with custom name:
dotnet new cakefile --name build
Create a file-based build script with example project structure:
dotnet new cakefile --IncludeExampleProject true
Create a file-based build script with custom name and example project structure:
dotnet new cakefile --name build --IncludeExampleProject true
Create a multi-file file-based build script (requires .NET 10):
dotnet new cakemultifile
Create a multi-file file-based build script with custom name:
dotnet new cakemultifile --name build
Create a project-based build targeting .NET 8.0:
dotnet new cakeproj --Framework net8.0
Create a project-based build targeting .NET 9.0 (default):
dotnet new cakeproj
Create a project-based build with custom name:
dotnet new cakeproj --name mybuild
Create a global.json file with default versions:
dotnet new cakeglobaljson
Create a global.json file with custom SDK version:
dotnet new cakeglobaljson --SdkVersion 10.0.100-preview.6.25358.103
Create a global.json file with custom name:
dotnet new cakeglobaljson --name myglobal
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 6.2.0 | 170 | 5/22/2026 |
| 6.1.1 | 417 | 3/2/2026 |
| 6.1.0 | 215 | 3/1/2026 |
| 6.0.0 | 778 | 11/11/2025 |
| 5.1.25296.94-beta | 430 | 10/23/2025 |
| 5.1.25292.90-beta | 445 | 10/19/2025 |
| 5.1.25277.88-beta | 434 | 10/4/2025 |
| 5.0.25276.86-beta | 376 | 10/3/2025 |
| 5.0.25257.82-beta | 508 | 9/14/2025 |
| 5.0.25253.70-beta | 451 | 9/10/2025 |
| 5.0.25225.53-beta | 477 | 8/13/2025 |
| 5.0.25225.51-beta | 475 | 8/13/2025 |
| 5.0.25198.49-beta | 482 | 7/17/2025 |