Antda.Build 2.0.0

Prefix Reserved
dotnet add package Antda.Build --version 2.0.0
                    
NuGet\Install-Package Antda.Build -Version 2.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Antda.Build" Version="2.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Antda.Build" Version="2.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Antda.Build" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Antda.Build --version 2.0.0
                    
#r "nuget: Antda.Build, 2.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Antda.Build@2.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Antda.Build&version=2.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Antda.Build&version=2.0.0
                    
Install as a Cake Tool

Antda.Build is a set of tasks based on Cake.Frosting library. This library simplify the building, deployment and release processes for .Net projects hosted on GitHub.

License

Features

Supported build platforms

Build platform Status
AppVeyor ✔️Supported
GitHub Actions ✔️Supported

Getting Started

  • Create build folder in the repository root.
  • Create a new console application inside. See Create a simple C# console app.
  • Then replace content of Program.cs by following code:
    using Antda.Build;
    using Antda.Build.Extensions;
    
    return BuildHostBuilder
      .CreateDefault()
      .WithProjects("ProjectFolder/ProjectName.csproj")
      .WithSource("src")
      .WithTitle("ProjectName")
      .WithRepository("GitRepositoryName", "GitRepositoryOwner")
      .UseGithubPackageSource()
      .UseNugetPackageSource()
      .Build()
      .Run(args);
    
  • Add build script in the repository root
    • For Windows add build.ps1 powreshell script with content:
    dotnet run --project ./build/Build.csproj --configuration Release -- $args
    exit $LASTEXITCODE;
    
    • For Linux add build.sh bash script with content:
    dotnet run --project ./build/Build.csproj --configuration Release -- "$@"
    

For more documentation, follow the link there Antda.Build

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.0 181 4/4/2025
1.3.0 186 4/8/2024
1.2.2 336 11/15/2023
1.2.1 158 11/15/2023
1.2.0 150 11/13/2023
1.1.4 208 11/1/2023
1.1.3 171 10/26/2023
1.1.2 162 10/26/2023
1.1.1 183 10/17/2023
1.1.0 169 10/17/2023
1.0.6 518 7/15/2022
1.0.5 493 7/15/2022
1.0.4 545 6/15/2022
1.0.3 475 6/14/2022
1.0.2 499 6/8/2022
1.0.1 470 6/8/2022