In debug mode, if there is an error in our application when we press F5 to start debugging, a dialog appears with the warning: \"Your program has an error. Do you want to ru
You can turn that prompt on/off in your Visual Studio settings:
On the right side, you'll see a combo box labeled "On Run, when build or deployment errors occur".
Of course, as people have suggested in the comments, this means that your code has errors in it somewhere that are preventing it from compiling. You need to use the "Error List" to figure out what those errors are, and then fix them.