Reputation: 15715
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:
Is there any way to get rid of it?
Upvotes: 0
Views: 1644
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
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
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