%(GitInfoCommitCountLines.Identity) $(GitInfoCommitCount.PadLeft(6,'0')) %(GitInfoCommitHashLines.Identity) <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <CommitCount>$(GitInfoCommitCount)</CommitCount> <CommitHash>$(GitInfoCommitHash)</CommitHash> </PropertyGroup> </Project> $([System.IO.File]::ReadAllText($(GitCommitInfoProps))) false true