Skip to content

Commit cceca14

Browse files
committed
Enable source link support
1 parent 920e215 commit cceca14

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/Kavod.Vba.Compression/Kavod.Vba.Compression.csproj

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,22 @@
1515
</PropertyGroup>
1616

1717
<ItemGroup>
18+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
19+
<PrivateAssets>all</PrivateAssets>
20+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
21+
</PackageReference>
1822
<PackageReference Include="System.Text.Encoding.CodePages" Version="7.0.0" />
1923
</ItemGroup>
2024

25+
<!-- Source Link support -->
26+
<PropertyGroup>
27+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
28+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
29+
<IncludeSymbols>true</IncludeSymbols>
30+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
31+
<ContinuousIntegrationBuild Condition=" '$(GITHUB_ACTIONS)' == 'true' ">true</ContinuousIntegrationBuild>
32+
</PropertyGroup>
33+
2134
<ItemGroup>
2235
<None Include="README.md" Pack="true" PackagePath="\" />
2336
<None Include="Icon.png" Pack="true" PackagePath="\" />

0 commit comments

Comments
 (0)