Juan
Juan

Reputation: 15715

ClickOnce published an application installed from web showing annoying "Launching Application" window every time I run it

I just published a C# Windows Forms application with the "From a Web Site" option. Then I installed it in my computer and successfully ran it. The only problem is that every time I run my installed application, this window pops up and then disappears:

ClickOnce application display "Verifying application requirements. This may take a few moments." at startup

Is there any way to get rid of it?

Upvotes: 0

Views: 1644

Answers (3)

Daniel N
Daniel N

Reputation: 417

Go to Project>Properties>Publish>Prerequisites and uncheck "The application should check for updates".

If you want to still check for updates, then you can do so programmatically.

http://msdn.microsoft.com/en-us/library/ms404263.aspx

Upvotes: 0

Juan
Juan

Reputation: 15715

Go to Project -> Properties -> Publish -> Updates and either uncheck "The application should check for updates" or select "After the application starts". The message box is only shown when the application is checking for updates before the application starts.

Upvotes: 3

JSJ
JSJ

Reputation: 5691

When you are publishing on the localhost or on web, please check the setting of the update condition in Project > Properties > Publish > Prerequisites and uncheck it as required. This will prevent it from checking for the appropriate version of the .NET Framework, among other things.

Hope this will help.

Upvotes: 0

Related Questions