GitMSBuildTasks is a project mainly written in C#, it's free.
MSBuild Tasks that can interact with a Git Repository
= GitMSBuildTasks
A set of MSBuild tasks that allow you to interact with a Git Repository. Initially, querying tags & commits will be supported.
== Basic Usage In your MSBuild file:
To find a particular Commit based on the hash. The LocalPath should point to where the .git directory is on the file system that you want to query.
The LastTag* Properties are based on the last tag that is closest prior to the Commit you are starting from.