是否有一个框架允许在 Codeplex 上发布的应用程序直接从 Codeplex 自动更新?
如今,赋予实用程序应用程序“自动更新”功能似乎是基本的礼貌。
我正在考虑 Reflector 或 Paint.NET,主动告诉您“嘿,有更新的版本可用吗?”
问:有谁知道来自 Codeplex 项目的应用程序可以使用一个通用框架来提醒用户是否有更新版本,并可以选择直接从 CodePlex 下载并安装该更新版本?
显然有 ClickOnce 和 更新程序块,我自己编写了实用程序类来执行此操作,适用于 winforms 和 < a href="http://blogs.msdn.com/dotnetinterop/archive/2008/03/28/simple-auto-update-for-wpf-apps.aspx" rel="noreferrer">WPF,和其他人编写了类似的东西,但所有这些都要求应用程序发布者在 Codeplex 之外发布应用程序,命令自动更新工作。我想象的是直接从 codeplex 下载的东西。
编辑
我可以想象这样的框架可能会对如何将应用程序发布到 Codeplex 施加某种结构。它可能需要在每个版本中发布“manifest.xml”,并且该清单文件中可能包含应用程序版本、时间戳、版本注释、最新二进制下载的 URL 等。
似乎有人已经建造了这个。
Endowing utility applications with "auto-update" capability seems like basic good manners these days.
I'm thinking of apps like Reflector or Paint.NET, that proactively tell you "hey, there's a newer release available. Wanna download it?"
Q: Does anyone know of a common framework that can be used by apps that come from Codeplex projects, to alert the user if there is a newer release, and optionally download and install that newer release directly from CodePlex?
Obviously there's ClickOnce, and the Updater Block, and I've written utility classes for doing this myself, for winforms and WPF, and other people have written similar things, but all these require the app publisher to publish the app outside of Codeplex, in order for the auto-update to work. What I'm imagining is something that just downloads directly from codeplex.
EDIT
I can imagine such a framework might impose a structure on how the app is published to codeplex. It may require a "manifest.xml" to be published with each release, and inside that manifest file might be a app version, timestamp, notes on the release, URL to the latest binary download, and so on.
It seems like someone would have built this already.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
据我所知(根据我尝试让 Componento 从 CodePlex 下载档案的经验),这是众所周知的以编程方式下载单个文件很困难,因为构建类似于 http://mef.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=34838#DownloadId=88937 的链接并不是一件令人愉快的事情经验。
也就是说,仍然可以在众所周知的位置拥有单个“updates.xml”文件并使用它检查更新。
For all I know (based on my experience of trying to make Componento download archives from CodePlex), it is notoriously difficult to just donwload a single file programmatically, since constructing a link similar to
http://mef.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=34838#DownloadId=88937
is not a very plesant experience.That said, it's still possible to have a single 'updates.xml` file at a well-known location and check for updates using it.
Codeplex 确实支持 ClickOnce 安装项目的自动更新版本。他们有一个常见问题解答,包括该主题。
我自己已经这样做了,请查看 http://replayer.codeplex.com
Codeplex does support auto-updateable releases with the ClickOnce Setup projects. They have a FAQ, including that topic.
I have done that myself, look at http://replayer.codeplex.com
http://codeplex.codeplex.com/Services/SourceControlService.asmx?op=GetModificationsForDateRange显然
,他们如今拥有足够好的 SOAP API。
http://codeplex.codeplex.com/Services/SourceControlService.asmx?op=GetModificationsForDateRange
They have a good enough SOAP API these days, apparently.