我的ClickOnce应用程序没有更新为什么? [英] My ClickOnce Application Not Updating Why?

查看:110
本文介绍了我的ClickOnce应用程序没有更新为什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Everyone,



我是Visual Studio世界的新手。我创建了一个clickonce应用程序。我发布了应用程序,一切看起来都不错,但是我的应用程序没有得到更新。



它正在读取清单,但没有更新。我可能是因为我不确定哪些文件应该在哪里。我在我的服务器上使用一个位置,所以我确保该电脑有一个地图驱动器到这个位置。我错过了什么我认为这很简单,但无法弄清楚。

帮助!! :叹息:

Hello Everyone,

I am new in the Visual Studio world. I created a clickonce application. I publish the application, everything looks good, BUT, my application is not getting the updates.

It is reading the manifest, but not updating. I thing it could be because I am not sure What files should be where. I am using a location on my server, so I make sure that the pc has a map drive to this location. What am I missing. I think is something simple but can not figure it out.
Help!! :sigh:

推荐答案

在发布选项卡的项目设置中,您是否为安装文件夹URL 添加了值?如果是这样,您需要确保单击更新按钮并将相同的URL放在应用程序更新屏幕上的更新位置框中。此外,请确保在该屏幕上选中应用程序应检查更新框。



如果不是这样,可以您可以提供有关您在ClickOnce设置中使用的设置的更多信息。没有更多的信息,很难缩小问题的范围。
In Project Settings on the Publish Tab, did you put a value in for Installation Folder URL? If so, you need to make sure that you click the Updates button and put the same URL in the Update location box on the Application Updates screen. Also, make sure you have the The application should check for updates box checked on that screen.

If this is not the case, can you please provide some more information about the settings you are using in your ClickOnce setup. Without more information it's hard to narrow down what the problem could be.


我发现这个 CodeProject文章 [ ^ ] 。我不确定它是否与您的问题有关,但我认为我会指出它以防万一。
I found this CodeProject Article[^]. I am not sure if it is related to your issue or not, but figured I'd point it out just in case.


我必须检查应用程序应检查更新

发布文件夹 ex ftp:// localhost / testinstall /,

上使用ftp并在安装时使用http文件夹 ex http:// localhost:33333 /,

和更新按钮> 更新位置将其留空,然后更新作品
I have to check The application should check for updates
use ftp on Publish Folder ex ftp://localhost/testinstall/ ,
and use http on Install Folder ex http://localhost:33333/ ,
and in Updates Button > Update Location leave it empty, then update works


这篇关于我的ClickOnce应用程序没有更新为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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