Skip to content

Snupkg not including PDB for a certain project ("The package does not contain any symbol (.pdb) files.") #11541

Answered by Piedone
Piedone asked this question in Q&A
Discussion options

You must be logged in to vote

It turns out that this is due to the project using Shouldly, since Shouldly overrides some necessary properties. Adding the following fixed the issue:

  <PropertyGroup>
    <Optimize>true</Optimize>
    <DebugType>portable</DebugType>
    <Deterministic>true</Deterministic>
    <DeterministicSourcePaths>true</DeterministicSourcePaths>
  </PropertyGroup>

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Piedone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant