本篇文章给大家分享的是有关SimpleUpdater.NET如何自动升级项目,小编觉得挺实用的,因此分享给大家学习,希望大家阅读完这篇文章后可以有所收获,话不多说,跟着小编一起来看看吧。
这是一个快速为已有的应用程序增加自动更新功能的组件,专为 .NET/WinForm 设计,虽然也可以通过命令行模式工作在其它语言中。 WPF将会在稍后支持。
This is a rapid application automatic updater component designed for .NET/WinForm and could be easily integrated into current applications. And it also can work for other applications via command line mode. WPF support is on schedule.
FSLib.App.SimpleUpdater.Updater.CheckUpdateSimple("http://localhost/{0}", "update_c.xml");
通过HTTP传输所有资料 / Using HTTP to perform update
全自动化,几乎不需要额外代码 / Fully automatically, almost no extra codes required
丰富的API接口事件,可定制化 / A large set events and customizable UI
提供打包工具,支持命令行打包 / Update package builder provided, supports build update packages via command line
Using package builder to build update packages
Uploading update packages previously built to your server
Add updater assembly SimpleUpdater.dll
reference to your project (Recommand using Nuget package, add fishlee.net.simpleupdater
package)
Add update call to your Main()
function
使用更新包构建工具创建更新包
上传生成的更新包到目录中
在项目中添加 SimpleUpdater.dll
引用 (推荐使用Nuget包引用,搜索 fishlee.net.simpleupdater
)
在 Main()
函数中添加更新检查调用
软件发布主页 / Offical website http://www.fishlee.net/soft/simple_autoupdater/
使用建议 / Suggestion or Question 可以在 自动更新库知识社区 (推荐) 或 后花园论坛 发帖询问
更新日志 / Change Logs http://www.fishlee.net/soft/simple_autoupdater/#C-124
免责声明:本站发布的内容(图片、视频和文字)以原创、来自互联网转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系QQ:712375056 进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。
Copyright © 2009-2021 56dr.com. All Rights Reserved. 特网科技 特网云 版权所有 珠海市特网科技有限公司 粤ICP备16109289号
域名注册服务机构:阿里云计算有限公司(万网) 域名服务机构:烟台帝思普网络科技有限公司(DNSPod) CDN服务:阿里云计算有限公司 中国互联网举报中心 增值电信业务经营许可证B2
建议您使用Chrome、Firefox、Edge、IE10及以上版本和360等主流浏览器浏览本网站