diff --git a/src/ThisAssembly.Git/ThisAssembly.Git.csproj b/src/ThisAssembly.Git/ThisAssembly.Git.csproj index 5ed0428c..da471bef 100644 --- a/src/ThisAssembly.Git/ThisAssembly.Git.csproj +++ b/src/ThisAssembly.Git/ThisAssembly.Git.csproj @@ -34,8 +34,4 @@ - - - - diff --git a/src/ThisAssembly.Git/ThisAssembly.Git.targets b/src/ThisAssembly.Git/ThisAssembly.Git.targets index a0f476c8..0329c82a 100644 --- a/src/ThisAssembly.Git/ThisAssembly.Git.targets +++ b/src/ThisAssembly.Git/ThisAssembly.Git.targets @@ -35,7 +35,7 @@ + DependsOnTargets="InitializeSourceControlInformation;$(SourceLinkUrlInitializerTargets)"> @@ -54,8 +54,11 @@ @(_ThisAssemblyGitSourceRoot) + @(_ThisAssemblyGitSourceRoot -> '%(SourceLinkUrl)') + + $(RepositoryRoot).git/HEAD