Exception when using this with git

Sep 21, 2013 at 4:24 PM
I tookthe sample app, and added it to a git repositiry, changed the task to use GitFileVersion. When i build the solution, the build task throws this exception. Any one got this working with git ?

Error 1 The "GitVersionFile" task failed unexpectedly.
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at System.Collections.Generic.List`1.get_Item(Int32 index)
at MSBuildVersioning.GitInfoProvider.GetTags()
at MSBuildVersioning.GitVersionTokenReplacer.<>c__DisplayClass2a.<.ctor>b__22()
at MSBuildVersioning.VersionTokenReplacer.NoArgsToken.Replace(String str)
at MSBuildVersioning.VersionTokenReplacer.Replace(String content)
at MSBuildVersioning.VersionFile.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext() D:\dev\vs\CodePlex\versioningtest\SampleInc.AwesomeApp\SampleInc.AwesomeApp.csproj 105 9 SampleInc.AwesomeApp