“The breakpoint will not currently be hit. A copy of file was found in dll file, but the current source code is different”

后端 未结 12 3010
名媛妹妹
名媛妹妹 2021-02-19 13:06

I keep getting this error saying there\'s a copy of the .cs file hence the break point will not get hit.

I have tried cleaning solution, rebuilding , deleting the .pdb

12条回答
  •  悲哀的现实
    2021-02-19 13:48

    Despite the fact that my current project configuration was set to Debug, it seemed that it has been compiling as a Release one.

    I removed (deleted) Web.Release.config from my project, recompiled solution, and then put Web.Release.config back.

    Now everything works just fine. What a bizarre behavior, eh. :)

提交回复
热议问题