0

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?

enter image description here

Community
  • 1
  • 1
FrostyFire
  • 3,212
  • 3
  • 29
  • 53
  • 1
    Attach/run the project regardless of the warning, then check the "Modules" window (Debug -> Windows -> Modules) and find out where the DLL/EXE is being loaded from. – Jonathan Dickinson Aug 31 '15 at 14:52
  • @JonathanDickinson Didn't think of that!!! Was loading from temp asp.net. Stupid. If you make that comment an answer I'll accept – FrostyFire Aug 31 '15 at 14:54

2 Answers2

1

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.

Jonathan Dickinson
  • 9,050
  • 1
  • 37
  • 60
0

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.

granadaCoder
  • 26,328
  • 10
  • 113
  • 146