Training
Module
Capture Web Application Logs with App Service Diagnostics Logging - Training
Learn about how to capture trace output from your Azure web apps. View a live log stream and download logs files for offline analysis.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
ClickOnce maintains activation log files for all deployments. These logs document any errors pertaining to installing and initializing a ClickOnce deployment. By default, ClickOnce creates one log file for each deployment activation. It stores these log files in the Temporary Internet Files folder. The log file for a deployment is displayed to the user when an activation failure occurs, and the user clicks Details in the resulting error dialog box.
You can change this behavior for a specific client by using Registry Editor (regedit.exe) to set a custom log file path. In this case, ClickOnce logs activation successes and failures for all deployments in a single file.
Caution
If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Use Registry Editor at your own risk.
Note
You will need to truncate or delete the log file occasionally to prevent it from growing too large.
The following procedure describes how to set a custom log file location for a single client.
Open Regedit.exe.
Navigate to the node HKCU\Software\Classes\Software\Microsoft\Windows\CurrentVersion\Deployment
.
Set the string value LogFilePath
to the full path and filename of your preferred custom log location.
This location must be in a directory to which the user has write access. For example, create the following folder structure and set LogFilePath
to C:\Users\<username>\Documents\Logs\ClickOnce\installation.log.
Training
Module
Capture Web Application Logs with App Service Diagnostics Logging - Training
Learn about how to capture trace output from your Azure web apps. View a live log stream and download logs files for offline analysis.
Documentation
Server/client configuration issues (ClickOnce) - Visual Studio (Windows)
Review possible issues with the server and client configuration that can affect the deployment of your ClickOnce application.
Troubleshooting ClickOnce Deployments - Visual Studio (Windows)
Review troubleshooting suggestions and considerations to help you diagnose and resolve the most common issues with ClickOnce deployments.
Specify verbose log files (ClickOnce deployments) - Visual Studio (Windows)
Learn how to specify verbosity for the activity logs that ClickOnce maintains for installing, initializing, updating, and uninstalling a ClickOnce deployment.