Build environment info for C#/VB NuGet Package

Exposes the following information for use directly from C# and VB:

The generated code contains only constants, so it can be used to construct your own assembly/file version attributes:

[assembly: AssemblyVersion("1.0.0." + ThisAssembly.BuildEnv.BuildId]

Inspired and best used with GitInfo.




Got any Build environment info for C#/VB Question?





Info

Version: 0.0.5
Author(s): Christoph Hornung
Last Update: Wednesday, January 4, 2023
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/ChristophHornung/BuildInfo
NuGet Url: https://www.nuget.org/packages/BuildInfo


Install
Install-Package BuildInfo
dotnet add package BuildInfo
paket add BuildInfo
BuildInfo Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

avg-downloads-per-day

1

days-since-last-release

475