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