Skip to content
This repository was archived by the owner on Nov 14, 2022. It is now read-only.

Commit 27cff26

Browse files
Migrated from embedded pdbs to sourcelink
2 parents 503a0d8 + 644085a commit 27cff26

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/dotnet.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ jobs:
6262
title: "Release Build ${{ env.CURRENT_VERSION }}"
6363
files: |
6464
./ClosedXML/bin/Release/*.nupkg
65+
./ClosedXML/bin/Release/*.snupkg
6566
6667
deployTest:
6768
if: github.ref != 'refs/heads/main'
@@ -93,3 +94,4 @@ jobs:
9394
title: "Prerelease Build ${{ env.CURRENT_VERSION }}"
9495
files: |
9596
./ClosedXML/bin/Release/*.nupkg
97+
./ClosedXML/bin/Release/*.snupkg

ClosedXML/ClosedXML.csproj

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,14 @@
2323
<Configurations>Debug;Release</Configurations>
2424
<PackageLicenseExpression>MIT</PackageLicenseExpression>
2525
<SignAssembly>true</SignAssembly>
26+
<IncludeSymbols>true</IncludeSymbols>
27+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
28+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
29+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
2630
<AssemblyOriginatorKeyFile>..\ClosedXML.snk</AssemblyOriginatorKeyFile>
2731
<PackageIcon>Product.png</PackageIcon>
2832
<PublishRepositoryUrl>true</PublishRepositoryUrl>
2933
<RepositoryUrl>https://github.com/stesee/ClosedXML</RepositoryUrl>
30-
<DebugType>embedded</DebugType>
3134
<PackageReadmeFile>nugetReadme.md</PackageReadmeFile>
3235
<ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild>
3336
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
@@ -52,6 +55,10 @@
5255
<ItemGroup>
5356
<PackageReference Include="DocumentFormat.OpenXml" Version="2.16.0" />
5457
<PackageReference Include="ExcelNumberFormat" Version="1.1.0" />
58+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
59+
<PrivateAssets>all</PrivateAssets>
60+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
61+
</PackageReference>
5562
<PackageReference Include="SkiaSharp" Version="2.80.2" />
5663
<PackageReference Include="SkiaSharp.NativeAssets.Linux.NoDependencies" Version="2.80.2" />
5764
</ItemGroup>

0 commit comments

Comments
 (0)