Embedding C# sources in PDB with new csproj

后端 未结 2 1815
无人及你
无人及你 2021-01-12 07:33

The recently-released .NET tooling seem to have support for embedding C# in PDBs, which should improve the experience of stepping into third-party, etc. Running csc /?

2条回答
  •  死守一世寂寞
    2021-01-12 08:20

    There's now a proper MSBuild EmbedAllSources property:

    
      
        netstandard2.0
        true
        [...]
    

    From what I observed locally, it behaves the same as the mentioned EmbedFiles target.

提交回复
热议问题