Development Win32 Release Win32 Development x64 Release x64 {257FD75C-4D17-4A23-A754-23BFD85887A0} Win32Proj version version StaticLibrary false v140 Unicode $(SolutionDir)$(Platform)\$(Configuration)\ $(ExecutablePath) $(SolutionDir)\breakpad;$(IncludePath) $(LibraryPath) $(ExcludePath) $(SolutionDir)$(Platform)\$(Configuration)\obj\$(ProjectName)\ Level3 Disabled Windows WIN64;%(PreprocessorDefinitions) $([MSBuild]::Unescape("$(DevEnvDir)\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\LibGit2Sharp.dll")) $([MSBuild]::Unescape("$(VSInstallDir)\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\LibGit2Sharp.dll")) { if (args.Name.Contains("LibGit2Sharp")) { return System.Reflection.Assembly.LoadFrom(LibGit2SharpAssemblyPath); } return null; }; GetCommit(); return !Log.HasLoggedErrors; } private void GetCommit() { try { Sha1 = (new LibGit2Sharp.Repository(Repository)).Commits.First().Id.Sha; } catch(LibGit2Sharp.RepositoryNotFoundException) { } } [Microsoft.Build.Framework.Required] public string Repository { get; set; } [Microsoft.Build.Framework.Required] public string LibGit2SharpAssemblyPath { get; set; } [Microsoft.Build.Framework.Output] public string Sha1 { get; set; } } } ]]> true GIT_COMMIT_HASH="$(CommitId)";%(PreprocessorDefinitions) GIT_COMMIT_HASH="$(CommitId)";%(PreprocessorDefinitions)