ClickOnce Not Obeying Installation Folder for Localhost

前端 未结 2 881
说谎
说谎 2021-01-19 05:52

I\'m testing a ClickOnce application deployment. I have setup a virtual directory on my machine (running IIS). I have specified http://localhost/SampleApplication as the Ins

2条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-19 06:36

    ClickOnce doesn't like "localhost", but you can work around that.

    If you set the Publishing Folder Location to:

    C:\inetpub\wwwroot\SampleApplication\

    and the Installation Folder URL to:

    http://chrish/SampleApplication/

    (where "chrish" is the network name of your computer) then you can publish locally.

提交回复
热议问题