简体   繁体   中英

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM