Skip to content

Commit cbec53d

Browse files
tigCopilot
andauthored
Add SourceLink and symbol package support (#11)
Enable source debugging and .snupkg generation for NuGet consumers. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent adb8e35 commit cbec53d

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎Directory.Build.props‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,18 @@
1919
<PackageLicenseFile>LICENSE</PackageLicenseFile>
2020

2121
<TerminalGuiVersion Condition="'$(TerminalGuiVersion)' == ''">2.4.1-develop.11</TerminalGuiVersion>
22+
23+
<!-- SourceLink & symbol packages -->
24+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
25+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
26+
<IncludeSymbols>true</IncludeSymbols>
27+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
2228
</PropertyGroup>
2329

30+
<ItemGroup>
31+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.*" PrivateAssets="All" />
32+
</ItemGroup>
33+
2434
<ItemGroup>
2535
<None Include="$(MSBuildThisFileDirectory)LICENSE" Pack="true" PackagePath="" />
2636
<None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" PackagePath="" />

0 commit comments

Comments
 (0)