dotnet / dotnet/deployment-tools

Clickonce error message mangles link to URL Error property

Open
#269 5 comments 0 reactions 0 assignees View on GitHub
area-ClickOnce
Dominant language
C#
Stars
213
Forks
73
Avg merge
1d 21h
Merged PRs (30d)
4

Description

### Description

When there is a problem with the clickonce app, the following window is displayed, which links to the app's publish property for Error URL (which doesn't seem to be documented AFAICT).
![image](https://user-images.githubusercontent.com/337991/229001852-4f39ef0d-24df-4a3a-a7bd-442ca201d7ca.png)

The URL is mangled and clicking it fails to open the URL.

It attempts to open something like %22https//anapp.zendesk.com/hc/en-au/requests/new?outer=System.Deployment.Application.DeploymentDownloadException&&inner=System.IO.DirectoryNotFoundException&&msg=Could%20not%20find%20a%20part%20of%20the%20path%20%27C:\Users\dennisg\Downloads\Application%20Files\Civil%20Pro%20Online%20-%20Test_12_115_1_354\Civil%20Pro%20Online%20-%20Test.dll.manifest%27.%22)//civilpro.zendesk.com/hc/en-au/requests/new?outer=System.Deployment.Application.DeploymentDownloadException&&inner=System.IO.DirectoryNotFoundException&&msg=Could%20not%20find%20a%20part%20of%20the%20path%20%27C:\Users\dennisg\Downloads\Application%20Files\Civil%20Pro%20Online%20-%20Test_12_115_1_354\Civil%20Pro%20Online%20-%20Test.dll.manifest%27.%22

The principle problem is the %22 in front of the URL, and the missing : between https and //

This is correctly specified in my clickonce Publish Options

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.