Baugen 1.0.3-gc4834974a1

This is a prerelease version of Baugen.
dotnet add package Baugen --version 1.0.3-gc4834974a1
                    
NuGet\Install-Package Baugen -Version 1.0.3-gc4834974a1
                    
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="Baugen" Version="1.0.3-gc4834974a1">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Baugen" Version="1.0.3-gc4834974a1" />
                    
Directory.Packages.props
<PackageReference Include="Baugen">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
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 Baugen --version 1.0.3-gc4834974a1
                    
#r "nuget: Baugen, 1.0.3-gc4834974a1"
                    
#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.
#addin nuget:?package=Baugen&version=1.0.3-gc4834974a1&prerelease
                    
Install Baugen as a Cake Addin
#tool nuget:?package=Baugen&version=1.0.3-gc4834974a1&prerelease
                    
Install Baugen as a Cake Tool

Baugen

A C# source generator that generates statically accessible build metadata.

Usage

Install the package:

dotnet add package Baugen

Build Metadata

The following properties are available:

  • BuildTimestampTicks: a long representing the build timestamp in ticks
  • BuildTimestamp: a DateTimeOffset representing the build timestamp

License

MIT

There are no supported framework assets in this 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
1.0.3-gc4834974a1 154 4/8/2025
1.0.2 192 1/4/2025
1.0.1 106 1/4/2025
1.0.0 107 1/4/2025

# 1.0.3
- Added missing using
- Include git commit id as version for Baugen in generated code
# 1.0.2
- Don't make the auto-generated comment an xml comment
- Fixed typo in getting root namespace property
# 1.0.1
- Fix source generator location
# 1.0.0
- Initial release
- Generates `BuildTimestamp` and `BuildTimestampTicks`