deployment-tools
deployment-tools copied to clipboard
Clickonce error message mangles link to URL Error property
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).
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
This seems like an issue with ClickOnce runtime. cc @Tanya-Solyanik @dreddy-work
@statler - is this a recent regression?
Sorry for the late reply - I am not sure. I have not really paid attention to it before.
@statler - what is the intended URL in your publish options? What version of VS is this? @John-Hart - FYI.
Latest VS2022 community. The intended URL is the URL specified in the pubxml. It doesn't matter what URL is used, it should just be accurately rendered in the clickonce message. There is no customization going on here.
<ErrorReportUrl>https://civilpro.zendesk.com/hc/en-au/requests/new</ErrorReportUrl>