ApplicationDeployment.IsNetworkDeployed sometimes returning false

N_HO 0 Reputation points
2023-11-21T03:41:45.67+00:00

We have published a WPF(C#) app using clickOnce.

It has a function updating itself when a user skips start-up dialogue.

Usually it works without problem, but sometimes ApplicationDeployment.IsNetworkDeployed returned false so that the update-function has been couldn't execute.

Could you tell us when it occurs and how can I solve this problem?

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,676 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,125 questions
{count} votes