在Azure上托管的ClickOnce上的问题 [英] Issue on ClickOnce hosting on Azure

查看:55
本文介绍了在Azure上托管的ClickOnce上的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

遵循此

Following this article, I have successfully hosted my ClickOnce app to Azure Blob Storage.

但是用户应使用哪个URL来安装应用程序.例如,当您使用VS2019将应用程序发布到网站时,它会创建一个publish.html页面,用户可以使用该页面的URL来安装该应用程序.但是这里没有publish.html页面.那么,在那种情况下我们该怎么办?

But what URL should a user use to install the app. For example, when you publish an app to a website using VS2019, it creates a publish.html page whose URL a user can use to install the app. But here we don't have that publish.html page. So, what we do in that case?

推荐答案

nam.很高兴告诉您如何生成publish.htm.

nam. I am very happy to tell you how to generate publish.htm.

经过测试,我找到了无法生成piblish.htm的原因.我的开发IDE与Microsoft Visual Studio Enterprise 2019相同.它可能已升级,并且失去了一些发布功能.您应该使用vs2017发布应用程序.我尝试成功.

After my test, I found the reason why you can't generate piblish.htm. My dev IDE same as you Microsoft Visual Studio Enterprise 2019. It may be upgrade and lost some function about publish. You should use vs2017 to publish the application. I try and success.

此链接是我的演示网址,您可以检查一下. 杰森的演示

This link is my demo url, you can check it. Jason's demo

下面是有关如何设置发布设置的文档链接,

And document links of how to set publish settings is below,

添加有关如何配置的图片,右键单击项目"->属性"->发布"->选项"->部署"

Add pic about how to configure, right click project->properties->publish->options->deployment

这篇关于在Azure上托管的ClickOnce上的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆