Game Development Community

New code being ignored

by Shiraz · in Torque X 2D · 03/01/2007 (7:24 pm) · 4 replies

I don't know what happened but for some reason visual c# is not compiling my current code but some old version of it. I don't remember changing any settings.

When I set a breakpoint on new code I get a warning on the point that says: The breakpoint will not currently be hit. The source code is different from the original.

It goes on to tell me how to fix it, but of the 2 options it gives, one doesn't exists and the other doesn't work. That aside, I'd like to know how my program may have gotten into this state. I'm stuck! Help!!

#1
03/01/2007 (7:46 pm)
Try Build > Rebuild Solution and see if that does anything. Also, make sure you're running from Visual Studio and not from TGBX.
#2
03/01/2007 (7:47 pm)
P.S. Take a look at Build > Configuration Manager... to see if the Build checkboxes are checked for your various projects.
#3
03/01/2007 (8:02 pm)
Well, between the rebuild and my going back to a previous version it seems to be working again. The Configuration Manager boxes were checked so that wasn't it. But it's good to know about that. Thanks Thomas! and thanks SVN!
#4
03/02/2007 (2:36 am)
I'm glad everything worked out.