In the Updates dialog box (located on the Publish tab), do you have any checkboxes checked to check for updates?
[EDIT 6/18/2010] Here is another piece of information that I think will fix your problem.
Methods CheckForUpdate()and CheckForDetailedUpdate()save the results of checking for updates to disk. The next time the application starts, the ClickOnce engine sees that an update is available and prompts the user for an unwanted window.
Apparently, updating is a two-step process:
- 1. , ClickOnce.
- 2. ClickOnce , .
" ", , ClickOnce 1. 2 .
CheckForUpdate() CheckForDetailedUpdate() , 1 - , , 2 .
CheckForUpdate() CheckForDetailedUpdate() . , (CheckForUpdate(bool persistUpdateCheckResult) CheckForDetailedUpdate(bool persistUpdateCheckResult)) , false ( CheckForUpdate(false) CheckForDetailedUpdate(false)).