Troubleshoot ClickOnce deployments

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

This topic helps you diagnose and resolve the most common issues with ClickOnce deployments.

In most cases, a ClickOnce application will download to a user's computer and run without any problems. There are some cases, however, where Web server or application configuration issues can cause unforeseen problems.

Deployment considerations

How to: Set a custom log file location for ClickOnce deployment errors

Describes how to redirect all ClickOnce activation failures on a machine to a single log file.

How to: Specify verbose log files for ClickOnce deployments

Describes how to increase the detail that ClickOnce writes to log files.

Server and client configuration issues in ClickOnce deployments

Describes various issues with the configuration of your Web server that could cause difficulty downloading ClickOnce applications.

Security, versioning, and manifest issues in ClickOnce deployments

Describes miscellaneous issues surrounding ClickOnce deployments.

Troubleshoot specific errors in ClickOnce deployments

Describes specific scenarios in which a ClickOnce deployment cannot succeed, and provides steps for resolving them.

Debug ClickOnce applications that use System.Deployment.Application

Describes a technique for debugging ClickOnce applications that use System.Deployment.Application.

See also