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,333 | 1/13/2022 |
1.0.15 | 1,524 | 1/1/2022 |
1.0.14 | 1,653 | 1/1/2022 |
1.0.13 | 1,529 | 10/31/2021 |
1.0.12 | 1,996 | 6/27/2021 |
1.0.11 | 1,681 | 6/17/2021 |
1.0.10 | 1,501 | 6/16/2021 |
1.0.9 | 1,601 | 5/18/2021 |
1.0.8 | 1,728 | 5/9/2021 |
1.0.7 | 1,554 | 5/6/2021 |
1.0.6 | 1,584 | 5/6/2021 |
1.0.5 | 1,544 | 5/6/2021 |
1.0.4 | 1,848 | 4/2/2021 |
1.0.3 | 1,752 | 3/27/2021 |
1.0.2 | 1,780 | 3/27/2021 |
1.0.1 | 1,483 | 3/27/2021 |
1.0.0 | 1,578 | 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.