diff --git a/src/GitInfo/build/GitInfo.targets b/src/GitInfo/build/GitInfo.targets index 3eb5b72..0de63a9 100644 --- a/src/GitInfo/build/GitInfo.targets +++ b/src/GitInfo/build/GitInfo.targets @@ -278,11 +278,14 @@ + + <_GitPackedRefs>$([System.IO.Path]::Combine('$(GitDir)', 'packed-refs')) + - <_GitInput Include="$(GitDir)HEAD" /> + <_GitInput Include="$([System.IO.Path]::Combine('$(GitDir)', 'HEAD'))" /> <_GitInput Include="$(GitVersionFile)" Condition="Exists('$(GitVersionFile)')" /> - +