If I go to Configuration Manager and set the Configuration field to "Debug" and hit F5, the breakpoints are not hit. (these are breakpoints in the first line of the Main() method).
If I set the Configuration field to "Release" and run the app the breakpoints are hit.
I also noticed that when I run the Debug build, the breakpoints are hit only if I select Target x86 or x64, but not when I select ANY CPU.
What is the cause of this behavior?