I always need to clean and rebuild in visual studio

3

I have a problem with my solution in visual studio 2012.

When I need to debug and drop a break point, I need to give clean and rebuild in my solution, otherwise it runs, but not for the break point.

The project has 4 class library and 15 web projects, using TFS for version control

Has anyone experienced this and solved this problem?

    
asked by anonymous 18.03.2014 / 19:48

2 answers

1

Make sure your breakpoint is in solid color. It happens in some cases where you make change in the source code, and you start debug by attaching the process manually, and in fact this requires you to run the application build again, in those cases the notification below is informed.

    
18.03.2014 / 20:09
0

I've had problems, a long time ago, with mixed types of references within the same project. If this is your case, make sure all references within the same project are project references, rather than referring directly to DLLs.

I remember that we made DLL references to DLLs that were rarely compiled, but that were within the same project, to make the compilation get faster. There, the breakpoints were crazy, because sometimes one project was referencing and the other project was not, then the breakpoint would appear full, but it stopped intermittently.

I do not know if this still happens with newer versions of VS, but it's worth checking your references.

    
18.03.2014 / 23:43