Skip to content

Commit

Permalink
Build .snupkg archives for nuget.org publishing
Browse files Browse the repository at this point in the history
This allows the VS debugger to automatically find the pdb files and allow stepping into MessagePack code from a consuming application.
  • Loading branch information
AArnott committed Nov 8, 2019
1 parent cb1806a commit 5fbd556
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Directory.Build.props
Expand Up @@ -18,7 +18,8 @@

<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)LICENSE" Pack="true" PackagePath="" />
Expand Down
1 change: 1 addition & 0 deletions azure-pipelines/build.yml
Expand Up @@ -117,6 +117,7 @@ steps:
inputs:
Contents: |
bin/**/$(BuildConfiguration)/**/*.nupkg
bin/**/$(BuildConfiguration)/**/*.snupkg
bin/**/$(BuildConfiguration)/**/*.vsix
TargetFolder: $(Build.ArtifactStagingDirectory)/deployables
flattenFolders: true
Expand Down

0 comments on commit 5fbd556

Please sign in to comment.