Baugen 1.1.0
dotnet add package Baugen --version 1.1.0
NuGet\Install-Package Baugen -Version 1.1.0
<PackageReference Include="Baugen" Version="1.1.0"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="Baugen" Version="1.1.0" />
<PackageReference Include="Baugen"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add Baugen --version 1.1.0
#r "nuget: Baugen, 1.1.0"
#:package Baugen@1.1.0
#addin nuget:?package=Baugen&version=1.1.0
#tool nuget:?package=Baugen&version=1.1.0
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: alongrepresenting the build timestamp in ticksBuildTimestamp: aDateTimeOffsetrepresenting the build timestamp
License
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- Microsoft.CodeAnalysis.CSharp (>= 4.11.0)
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.1.0 | 396 | 3/6/2026 |
| 1.0.4-g32370b0967 | 198 | 7/29/2025 |
| 1.0.3-gc4834974a1 | 249 | 4/8/2025 |
| 1.0.2 | 1,338 | 1/4/2025 |
| 1.0.1 | 201 | 1/4/2025 |
| 1.0.0 | 211 | 1/4/2025 |
# 1.1.0
- Include information about git commit and assembly version
# 1.0.4
- Downgraded `Microsoft.CodeAnalysis.CSharp` down to 4.11.0 to be compatible with older toolchains
# 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`