pdb file not generated in visual studio 2015

2019-06-18 03:59发布

I am developing a application using C#-MVC with Entity framework(database first) VS 2015 I have created separate project forData Layer Access. When I build this project, either DEBUG or RELASE mode, debug file not getting generated i.e. ".pdb" file. Due this unable to hit break point. In all project this file generated except Data Layer Access project

Please let me know, how can I generate this .pdb file for project in my project?

Thanks in advance!

1条回答
做个烂人
2楼-- · 2019-06-18 05:01

(1)Like this document about how to disable the pdb file, please check your project property "Debug Info" option and output path:

enter image description here

(2)Please also check your build configuration manager, all projects use the default Debug or Release option.

(3)If still no help, you'd better to collect the detailed output/compiled information, and make sure that which dll file or pdb generated this issue.

For breakpoint issue, please enable the Microsoft symbols server under TOOLS->Options->Debugging->Symbols.

查看更多
登录 后发表回答