GitInfo 2.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package GitInfo --version 2.0.2
                    
NuGet\Install-Package GitInfo -Version 2.0.2
                    
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="GitInfo" Version="2.0.2">
  <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="GitInfo" Version="2.0.2" />
                    
Directory.Packages.props
<PackageReference Include="GitInfo">
  <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 GitInfo --version 2.0.2
                    
#r "nuget: GitInfo, 2.0.2"
                    
#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=GitInfo&version=2.0.2
                    
Install GitInfo as a Cake Addin
#tool nuget:?package=GitInfo&version=2.0.2
                    
Install GitInfo as a Cake Tool

Exposes the following information for use directly from MSBuild, C# and VB:
 $(GitBranch), ThisAssembly.Git.Branch
 $(GitCommit), ThisAssembly.Git.Commit
 $(GitSha), ThisAssembly.Git.Sha
 $(GitBaseVersionMajor), ThisAssembly.Git.BaseVersion.Major
 $(GitBaseVersionMinor), ThisAssembly.Git.BaseVersion.Minor
 $(GitBaseVersionPatch), ThisAssembly.Git.BaseVersion.Patch
 $(GitCommits), ThisAssembly.Git.Commits
 $(GitTag), ThisAssembly.Git.Tag
 $(GitBaseTag), ThisAssembly.Git.BaseTag
 $(GitSemVerMajor), ThisAssembly.Git.SemVer.Major
 $(GitSemVerMinor), ThisAssembly.Git.SemVer.Minor
 $(GitSemVerPatch), ThisAssembly.Git.SemVer.Patch
 $(GitSemVerLabel), ThisAssembly.Git.SemVer.Label
 $(GitSemVerDashLabel), ThisAssembly.Git.SemVer.DashLabel
 $(GitSemVerSource), ThisAssembly.Git.SemVer.Source
 $(GitIsDirty), ThisAssembly.Git.IsDirty

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

[assembly: AssemblyVersion(ThisAssembly.Git.SemVer.Major + "." + ThisAssembly.Git.SemVer.Minor + ".0")]
[assembly: AssemblyInformationalVersion(ThisAssembly.Git.SemVer.Major + "." +
ThisAssembly.Git.SemVer.Minor + "." + ThisAssembly.Git.SemVer.Patch + "-" +
ThisAssembly.Git.Branch + "+" + ThisAssembly.Git.Commit)]

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (11)

Showing the top 5 NuGet packages that depend on GitInfo:

Package Downloads
Aqovia.PactProducerVerifier.AspNetCore

Pact Producer Test for aspnet core sites

Zooqle.Net

A .NET Standard library for searching torrents on Zooqle.

PH.RollingZipRotatorLog4net

A netstandard2.0 Zip utility to perform a very simple log4net file rotation. The code perform a zip-compression on every log-rotated file and delete it, watching on log4net output directory reading settings of appenders.

BizStream.NET.Sdk

Core build and release configuration for packages and libraries distributed by BizStream.

SPLogging.Web

Web Log helper ใช้สำหรับ ช่วยเก็บค่า sesion และ อื่นๆ สำหรับ log

GitHub repositories (39)

Showing the top 20 popular GitHub repositories that depend on GitInfo:

Repository Stars
gitextensions/gitextensions
Git Extensions is a standalone UI tool for managing git repositories. It also integrates with Windows Explorer and Microsoft Visual Studio (2015/2017/2019).
xamarin/Xamarin.Forms
Xamarin.Forms is no longer supported. Migrate your apps to .NET MAUI.
kurrent-io/KurrentDB
EventStoreDB, the event-native database. Designed for Event Sourcing, Event-Driven, and Microservices architectures
dotnet/macios
.NET for iOS, Mac Catalyst, macOS, and tvOS provide open-source bindings of the Apple SDKs for use with .NET managed languages such as C#
VitalElement/AvalonStudio
Cross platform IDE and Shell
CollapseLauncher/Collapse
An Advanced Launcher for miHoYo/HoYoverse Games
fullstackproltd/AspNetCoreSpa
Asp.Net 7.0 & Angular 15 SPA Fullstack application with plenty of examples. Live demo:
alanmcgovern/monotorrent
The official repository for MonoTorrent, a bittorrent library for .NET
ubisoft/Sharpmake
Sharpmake is an open-source C#-based solution for generating project definition files, such as Visual Studio projects and solutions, GNU makefiles, Xcode projects, etc.
ClassIsland/ClassIsland
一款适用于班级多媒体屏幕的课表信息显示工具,可以一目了然地显示各种信息。
BedrockLauncher/BedrockLauncher
wabbajack-tools/wabbajack
An automated Modlist installer for various games.
dotnet/Microsoft.Maui.Graphics
An experimental cross-platform native graphics library.
dotnet/Microsoft.Maui.Graphics.Controls
Experimental Microsoft.Maui.Graphics.Controls - Build drawn controls (Cupertino, Fluent and Material)
SteeltoeOSS/Samples
Steeltoe samples and reference application collection
nkdAgility/azure-devops-migration-tools
Azure DevOps Migration Tools allow you to migrate Teams, Backlogs, Work Items, Tasks, Test Cases, and Plans & Suits from one Project to another in Azure DevOps / TFS both within the same Organisation, and between Organisations.
bitfaster/BitFaster.Caching
High performance, thread-safe in-memory caching primitives for .NET
Redth/ZXing.Net.Maui
Barcode Scanning for MAUI?
couchbase/couchbase-lite-net
A lightweight, document-oriented (NoSQL), syncable database engine for .NET
WindowsAppCommunity/Quarrel
Quarrel is a Discord client for Windows and Xbox that aims to bring voice chat to Xbox and improved support for varying screen sizes on devices running windows.
Version Downloads Last updated
3.5.0 205,402 11/2/2024
3.3.5 360,626 5/13/2024
3.3.4 172,280 2/15/2024
3.3.3 411,651 8/30/2023
3.3.2 611 8/30/2023
3.3.1 16,438 8/11/2023
3.3.0 3,552 8/11/2023
3.2.0 5,192 8/11/2023
2.3.0 1,018,272 11/18/2022
2.2.1 18,594 11/16/2022
2.2.0 1,593,956 8/26/2021
2.1.2 1,441,112 9/24/2020
2.1.1 935 9/24/2020
2.0.40 2,650 9/24/2020
2.0.39 3,819 9/23/2020
2.0.38 1,563 9/21/2020
2.0.37 1,174 9/20/2020
2.0.36 807 9/20/2020
2.0.35 797 9/20/2020
2.0.34 10,251 9/11/2020
2.0.33 12,437 8/28/2020
2.0.32 752 8/28/2020
2.0.31 67,681 8/3/2020
2.0.30 14,853 7/27/2020
2.0.29 61,884 7/22/2020
2.0.28 973 7/22/2020
2.0.27 784 7/22/2020
2.0.26 468,771 12/16/2019
2.0.25 1,737 12/13/2019
2.0.21 92,584 10/15/2019
2.0.20 670,445 11/13/2018
2.0.19 12,479 11/2/2018
2.0.18 105,074 9/26/2018
2.0.17 21,896 9/10/2018
2.0.16 1,105 9/10/2018
2.0.15 77,565 8/14/2018
2.0.14 3,289 8/3/2018
2.0.11 342,057 6/1/2018
2.0.10 33,656 2/21/2018
2.0.9 1,634 2/20/2018
2.0.8 16,854 11/30/2017
2.0.7 7,537 11/30/2017
2.0.6 19,894 10/22/2017
2.0.5 1,333 10/19/2017
2.0.3 8,624 10/18/2017
2.0.2 3,556 9/29/2017
2.0.1 89,656 8/24/2017
2.0.0 4,221 8/16/2017
1.1.72 2,304 8/7/2017
1.1.71 6,436 7/10/2017
1.1.70 1,264 7/10/2017
1.1.68 1,437 7/7/2017
1.1.67 1,561 7/4/2017
1.1.66 1,675 6/23/2017
1.1.65 1,564 6/15/2017
1.1.63 1,619 6/15/2017
1.1.62 2,808 6/4/2017
1.1.61 4,710 5/31/2017
1.1.60 2,082 5/16/2017
1.1.59 16,234 5/11/2017
1.1.58 1,556 5/5/2017
1.1.57 1,463 4/29/2017
1.1.56 1,278 4/28/2017
1.1.55 8,071 4/26/2017
1.1.54 1,287 4/26/2017
1.1.53 2,084 4/12/2017
1.1.48 3,635 2/10/2017
1.1.47 1,241 2/10/2017
1.1.45 2,892 1/27/2017
1.1.44 1,249 1/27/2017
1.1.43 1,352 1/25/2017
1.1.41 1,293 1/25/2017
1.1.40 1,658 1/6/2017
1.1.39 1,609 12/26/2016
1.1.38 2,071 12/26/2016
1.1.37 1,544 12/12/2016
1.1.35 2,362 11/29/2016
1.1.34 1,640 11/24/2016
1.1.31 2,028 9/13/2016
1.1.30 1,338 9/13/2016
1.1.29 1,981 9/3/2016
1.1.28 2,651 8/10/2016
1.1.27 1,423 8/8/2016
1.1.26 1,304 8/8/2016
1.1.25 2,932 7/28/2016
1.1.24 1,577 7/28/2016
1.1.23 1,583 7/28/2016
1.1.22 1,667 7/28/2016
1.1.20 2,354 6/4/2016
1.1.19 1,434 5/29/2016
1.1.17 1,332 5/26/2016
1.1.15 3,317 5/23/2016
1.1.14 2,520 5/22/2016
1.1.13 1,428 5/19/2016
1.1.12 3,487 4/24/2016
1.1.10 1,543 4/8/2016
1.1.9 1,379 3/31/2016
1.1.8 1,331 3/31/2016
1.1.7 1,329 3/31/2016
1.1.5 1,887 3/16/2016
1.1.4 1,341 3/16/2016
1.1.2 1,387 3/14/2016
1.1.1 2,024 3/12/2016
1.1.0 1,505 3/11/2016
1.0.64-pre 1,025 3/12/2016
1.0.63-pre 1,093 3/12/2016
1.0.62-pre 1,240 3/12/2016
1.0.61-pre 1,245 3/12/2016
1.0.60-pre 1,063 3/11/2016
1.0.59-pre 1,242 3/11/2016
1.0.58-pre 1,060 3/11/2016
1.0.56-pre 3,357 1/9/2016
1.0.55-pre 1,953 1/7/2016
1.0.54-pre 1,744 12/14/2015
1.0.53-pre 1,260 12/10/2015
1.0.52-pre 1,481 12/10/2015
1.0.51-pre 1,264 12/10/2015
1.0.50-pre 1,283 12/9/2015
1.0.49-pre 2,913 10/5/2015
1.0.48-pre 1,431 10/3/2015
1.0.47-pre 1,261 9/2/2015
1.0.46-pre 1,109 9/2/2015
1.0.45-pre 1,165 9/1/2015
1.0.44-pre 1,125 9/1/2015
1.0.43-pre 1,119 9/1/2015
1.0.42-pre 1,129 8/18/2015
1.0.41-pre 1,451 8/7/2015
1.0.40-pre 1,168 7/19/2015
1.0.39-pre 1,116 7/10/2015
1.0.38-pre 1,138 6/26/2015
1.0.37-pre 1,084 6/26/2015
1.0.36-pre 1,099 6/26/2015
1.0.35-pre 1,134 6/26/2015
1.0.34-pre 1,148 6/24/2015
1.0.33-pre 1,188 6/17/2015
1.0.31-pre 1,152 6/16/2015
1.0.30-pre 1,111 6/16/2015
1.0.29-pre 1,099 6/16/2015
1.0.28-pre 1,110 6/16/2015
1.0.27-pre 1,121 6/16/2015
1.0.26-pre 1,151 6/15/2015
1.0.25-pre 1,148 6/14/2015
1.0.24-pre 1,163 6/11/2015
1.0.23-pre 1,107 6/8/2015
1.0.22-pre 1,114 6/8/2015
1.0.21-pre 1,118 6/8/2015
1.0.20-pre 1,149 6/8/2015
1.0.19-pre 1,119 6/8/2015
1.0.18-pre 1,134 6/8/2015
1.0.16-pre 1,125 6/5/2015
1.0.15-pre 1,171 6/5/2015
1.0.14-pre 1,180 6/4/2015
1.0.11-pre 1,087 6/3/2015
1.0.10-pre 1,138 6/3/2015
1.0.9-pre 1,142 6/3/2015
1.0.8-pre 1,110 6/3/2015
1.0.7-pre 1,175 6/3/2015
1.0.6-pre 1,099 6/3/2015
1.0.5-pre 1,088 6/3/2015
1.0.4-pre 1,128 6/3/2015
1.0.3-pre 1,110 6/3/2015
1.0.1-pre 1,127 6/3/2015
1.0.0 1,602 2/22/2016
1.0.0-pre 1,096 5/26/2015
0.0.196 670 10/14/2020
0.0.195 681 10/5/2020
0.0.194 23,003 9/24/2020