The “On click Run, if .NET application projects are out of date” drop-down list selection on the General tab of the System Options dialog box determines whether a message box displays when you run or debug a project and project objects have been modified. Table 17-1 shows the choices available in this drop-down list:
Selection |
Effect when you click or select Run or Debug |
---|---|
Ask me |
(Default selection.) Causes a message box to display if the current project has been modified since the last time it was deployed or if it has never been deployed before. |
Always redeploy |
Always redeploys a project before running or debugging it. It first rebuilds the project using the rebuild scope set in the Project painter. |
Never redeploy |
Never redeploys a project before trying to run it, although it does deploy a project that has not been previously deployed, and then attempts to run or debug that project. (You should not use this option if you want to debug a project that you have previously deployed.) |
The message box that prompts you to redeploy an out-of-date project can display only when the drop-down list selection is “Ask me.” This selection changes automatically to “Always redeploy” if you click Yes in the message box when the “Do not ask me again” check box is selected. It changes to “Never redeploy” if you click No in the message box when the “Do not ask me again” check box is selected.