Skip to content

Commit f9939f8

Browse files
committed
Fix missing source link information in ThisAssembly.Git
Try switching to a package file for the common dependency. It seems to be interfering with properly collecting the sourcelink info otherwise.
1 parent 8b0a1be commit f9939f8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/ThisAssembly.Git/ThisAssembly.Git.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@
3232
<PackageReference Include="Devlooped.SponsorLink" Version="0.7.0" />
3333
<PackageReference Include="NuGetizer" Version="0.9.1" />
3434
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="all" />
35-
<PackageReference Include="Microsoft.SourceLink.Common" Version="1.1.1" Pack="true" ExcludeAssets="all" />
35+
</ItemGroup>
36+
37+
<ItemGroup>
38+
<PackageFile Include="Microsoft.SourceLink.Common" Version="1.1.1" PackFolder="Dependency" />
3639
</ItemGroup>
3740

3841
</Project>

0 commit comments

Comments
 (0)