title: Visual Studio 2010 - Debugging / Build Problems
body: <p>I am using Visual Studio Professional 2010 and the Team Foundation Server Express (beta). My VS Project (C#.Net / WPF) has been migrated from VS 2008 (without TFS) to VS 2010 (with TFS).</p>
  
  <p>Whenever I apply changes to my code and try to debug my application, I get messages like <code>This breakpoint will not be hit.</code> (in german: <code>Der Haltepunkt wird momentan nicht erreicht. Der Quellcode weist Unterschiede zur Originalversion auf.</code>) and the project is started using the old executable version (the one with the last successful build). No errors occure, the code is OK, but the changes are not applied either.</p>
  
  <p>When I manually cleanup and rebuild my project, everything works quite fine - but there has to be a fix for this issue?</p>
  
  <hr>
  
  <p><strong>Edit:</strong> I just added a new project to my VS solution and checked it in on the TFS Server. Using this new project the problem does not occure. Even when I add the same dependencies I used in the project mentioned above, the debugging and building of the new project works fine without the errors mentioned above. </p>
  
  <p>Maybe this information helps you to lead me to a solution.</p>