GitBuildInfo.SourceGenerator
1.0.13
See the version list below for details.
dotnet add package GitBuildInfo.SourceGenerator --version 1.0.13
NuGet\Install-Package GitBuildInfo.SourceGenerator -Version 1.0.13
<PackageReference Include="GitBuildInfo.SourceGenerator" Version="1.0.13"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add GitBuildInfo.SourceGenerator --version 1.0.13
#r "nuget: GitBuildInfo.SourceGenerator, 1.0.13"
// Install GitBuildInfo.SourceGenerator as a Cake Addin #addin nuget:?package=GitBuildInfo.SourceGenerator&version=1.0.13 // Install GitBuildInfo.SourceGenerator as a Cake Tool #tool nuget:?package=GitBuildInfo.SourceGenerator&version=1.0.13
Source Generator for dumping the git branch information, commit hash, and if the working tree is dirty or clean on projects that install this and applies them as an assembly level attribute.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
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.16 | 4,273 | 1/13/2022 |
1.0.15 | 1,520 | 1/1/2022 |
1.0.14 | 1,649 | 1/1/2022 |
1.0.13 | 1,525 | 10/31/2021 |
1.0.12 | 1,992 | 6/27/2021 |
1.0.11 | 1,677 | 6/17/2021 |
1.0.10 | 1,497 | 6/16/2021 |
1.0.9 | 1,597 | 5/18/2021 |
1.0.8 | 1,724 | 5/9/2021 |
1.0.7 | 1,550 | 5/6/2021 |
1.0.6 | 1,580 | 5/6/2021 |
1.0.5 | 1,540 | 5/6/2021 |
1.0.4 | 1,844 | 4/2/2021 |
1.0.3 | 1,748 | 3/27/2021 |
1.0.2 | 1,776 | 3/27/2021 |
1.0.1 | 1,479 | 3/27/2021 |
1.0.0 | 1,572 | 3/26/2021 |
Fixed issue where building can result in a build performance decrease due to having the build task being inline.
Also made build task target .NET Standard 2.0 only.
I think this one should work for everyone even for those using .NET Framework's msbuild.
Also the generator now requires setting the RootNamespace msbuild property that holds the type they specifiy in the GitBuildInfoAssemblyType msbuild property.