Skip to content

Commit 60ba0f2

Browse files
committed
Enable SourceLink, with a snupkg file
.
1 parent 590a963 commit 60ba0f2

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

appveyor.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ build_script:
77
- ps: ./Build.ps1
88
artifacts:
99
- path: artifacts/Serilog.*.nupkg
10+
- path: artifacts/Serilog.*.snupkg
1011
deploy:
1112
- provider: NuGet
1213
api_key:
@@ -17,7 +18,9 @@ deploy:
1718
- provider: GitHub
1819
auth_token:
1920
secure: p4LpVhBKxGS5WqucHxFQ5c7C8cP74kbNB0Z8k9Oxx/PMaDQ1+ibmoexNqVU5ZlmX
20-
artifact: /Serilog.*\.nupkg/
21+
artifacts:
22+
/Serilog.*\.nupkg/
23+
/Serilog.*\.snupkg/
2124
tag: v$(appveyor_build_version)
2225
on:
2326
branch: master

src/Serilog.Sinks.Debug/Serilog.Sinks.Debug.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
2121
<PackageIcon>icon.png</PackageIcon>
2222
<PackageReadmeFile>README.md</PackageReadmeFile>
23+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
24+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
25+
<IncludeSymbols>true</IncludeSymbols>
26+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
2327
<GenerateDocumentationFile>true</GenerateDocumentationFile>
2428
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
2529
<RootNamespace>Serilog</RootNamespace>

0 commit comments

Comments
 (0)