Enable snupkg symbol packages

This commit is contained in:
Sean Fausett 2021-05-10 10:31:14 +12:00
parent 0affa6eca9
commit 785da527d0
4 changed files with 6 additions and 4 deletions

2
.gitignore vendored
View File

@ -2,7 +2,7 @@ bin
obj
packages
*.suo
*.nupkg
*.*nupkg
*.DotSettings.user
*.xproj.user
.vs

View File

@ -15,4 +15,4 @@ test_script:
- cmd: call cmd /C "cd .\build & test.cmd"
artifacts:
- path: '**\*.nupkg'
- path: '**\*.*nupkg'

View File

@ -18,8 +18,9 @@
</PropertyGroup>
<PropertyGroup>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>

View File

@ -18,8 +18,9 @@
</PropertyGroup>
<PropertyGroup>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>