visual-studioclickonce

Why isn't the Publish.htm file being created?


I'm trying to create a ClickOnce deployment of a WPF app, using VS 2019. I'm testing it by having it create the Publish.htm file in a website on my machine. Here's what I have in the project's Publish Options tab:

enter image description here

However, when I publish from VS 2019, the publish.htm file does not get created on the website. The web.config file is there, but that's all that's there. Why isn't it creating the publish.htm file?


Solution

  • If test via iis, you need to fill the Publishing Folder Loaction with the physical path of iis website.

    enter image description here

    The setting of iis website,

    enter image description here