Configure ClickOne publish.htm BEFORE it is ported to the web server

This page describes how to configure the ClickOnce publish.htm page after it has been ported to the web server:

http://msdn.microsoft.com/en-us/library/k5befhe3.aspx

But is it possible to make any changes to the text or font of the publish.htm template, wherever it is, so that you can edit its non-dynamic content and style only once?

+4
source share
2 answers

There is no way to output template. The only option is to either automatically create the publish.htm page, or then make the necessary changes after each update. The second option is to do what the article offers and create your own page and tell Visual Studio not to create a publish page for you.

If you want a fantasy, you can create an installation page that uses JavaScript to download the .application file, and then analyzes dynamic information after each publication (for example, version information).

If you can solve your problem using JS, send a question and answer it yourself (which is part of the StackOverflow conditions), explaining how you used JS to parse the .application file.

I personally would like to check such an implementation.

+1
source

There is probably a template somewhere on your computer to generate it ... But then you are stuck with the same template for every ClickOnce project ...

I suggest you create a more dynamic page (.aspx) that can read information from a .application file. Here begins here ...

0
source

Source: https://habr.com/ru/post/1380652/


All Articles