It might be that your solution is out of sync. Try doing a full rebuild of the solution.
It might also be that you run optimized code (a release build with debug symbols).