VS2015 Project wont run in debug mode

Not a duplicate of: VS2015 Project no longer runs in debug mode

My issue is the same though, except I have already tried the solutions from that question. Things I have tried/checked:

  • Optimize Code is not checked
  • Config Manager is set to Build and Debug
  • Define DEBUG and TRACE constant is checked
  • Cleaning / Rebuilding
  • Changing the above settings, saving, changing back.
  • Deleting the DLL it complains about being in debug mode and recompiling.
  • I have no idea what else to check. Any ideas?

    在这里输入图像描述


    Attach/run the project regardless of the warning. Open the "Modules" window (Debug -> Windows -> Modules) and find out where the DLL/EXE is being loaded from.


    One. Try removing every "project reference" and re-adding them.

    Two..when really up against it, create a new solution..new projects (same names are ok)....and move the non sln/csproj files over (.cs files mainly) and readd them to your NEW csproj/sln files. Aka, "recreate it"... Twice I've had to do this for no known reason.

    链接地址: http://www.djcxy.com/p/27968.html

    上一篇: VS2008调试器不会在未处理的异常中断

    下一篇: VS2015项目不会在调试模式下运行