I am having a strange problem with Visual Studio. Whenever I change my code and build, although I receive a notification that the built was successful (and if it is, it also shows errors in the code and does not build), the executable is actually the previous assembly. It becomes very annoying and frustrating.
If I put a breakpoint on new lines, the breakpoint is disabled and it says
At the moment, the breakpoint will not be deleted. There is no executable code. associated with this line. Possible reasons: preprocessor directive or compiler / linker optimization
If I put a breakpoint on the old lines of code, it stops processing, but shows me this message
The source is different from when the module was built. Would you like a debugger to use it anyway?
I have never had this problem before, and the source code is on my laptop hard drive. It saves immediately. The only way to get around this is to Clean
entire solution manually each time, instead of basically pressing F5.
source share