Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clickonce error message mangles link to URL Error property #269

Open
statler opened this issue Mar 31, 2023 · 5 comments
Open

Clickonce error message mangles link to URL Error property #269

statler opened this issue Mar 31, 2023 · 5 comments

Comments

@statler
Copy link

statler commented Mar 31, 2023

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

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

@NikolaMilosavljevic
Copy link
Member

This seems like an issue with ClickOnce runtime. cc @Tanya-Solyanik @dreddy-work

@Tanya-Solyanik
Copy link
Member

@statler - is this a recent regression?

@statler
Copy link
Author

statler commented Jul 11, 2023

Sorry for the late reply - I am not sure. I have not really paid attention to it before.

@Tanya-Solyanik
Copy link
Member

Tanya-Solyanik commented Jul 12, 2023

@statler - what is the intended URL in your publish options? What version of VS is this? @John-Hart - FYI.

@statler
Copy link
Author

statler commented Jul 12, 2023

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.

https://civilpro.zendesk.com/hc/en-au/requests/new

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants