Embed pdb into assembly

后端 未结 3 1645
悲&欢浪女
悲&欢浪女 2021-02-07 12:20

I want my application to be distributable as a single .exe file but I want to be able to get nice error reports with source code line numbers (the application simply se

3条回答
  •  眼角桃花
    2021-02-07 12:46

    Use MiniDumps instead of "exception.ToString()". It will give you a lot more information and does not need the .pdb to be distributed with the .exe.

    Useful Link: Post-Mortem Debugging Your Application with Minidumps and Visual Studio .NET

提交回复
热议问题