Binary was not built with debug information

后端 未结 5 1134
隐瞒了意图╮
隐瞒了意图╮ 2020-12-15 07:53

I am using Visual Studio 2013, .Net Framework 4.0, and C#.

I am trying to debug a file in my project. I have the project set to debug build in the project properties

5条回答
  •  孤城傲影
    2020-12-15 08:31

    For Visual Studio 2017 for Configuration Release or Debug you can create a pdb file for debug information like this:

    • Right click your project in Solution explorer and select "properties"
    • Select "Configuration Properties"
    • Select "Debugging"
    • in "Generate Debug Info" select "Yes (/DEBUG)"
    • in "Generate Program Database File" enter: $(OutDir)$(TargetName).pdb

提交回复
热议问题