Skip to content

Commit

Permalink
Fix sourcelink validation
Browse files Browse the repository at this point in the history
  • Loading branch information
RussKie committed Jun 9, 2020
1 parent abf49a0 commit de3ff8a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
<LangVersion>preview</LangVersion>
</PropertyGroup>

<!-- Allow SourceLink to work for strongly types resource files (SR) by embeddeding generated files into the PDBs -->
<PropertyGroup>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>

<!-- For the purposes of generating code coverage as part of the build -->
<PropertyGroup Condition="'$(Coverage)' == 'true'">
<!-- Coverlet assumes PDB files exist on disk https://github.com/tonerdo/coverlet/issues/362 -->
Expand Down

0 comments on commit de3ff8a

Please sign in to comment.