温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

SimpleUpdater.NET如何自动升级项目

发布时间:2021-09-27 10:04:57 来源:亿速云 阅读:148 作者:柒染 栏目:编程语言

本篇文章给大家分享的是有关SimpleUpdater.NET如何自动升级项目,小编觉得挺实用的,因此分享给大家学习,希望大家阅读完这篇文章后可以有所收获,话不多说,跟着小编一起来看看吧。

SimpleUpdater.NET

简要说明 / Introduction

这是一个快速为已有的应用程序增加自动更新功能的组件,专为 .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");

特点 / Advantage

  • 通过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

基本集成步骤 / Basic steps to integrate

  • 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() 函数中添加更新检查调用

发布和支持信息 / Release and Support

软件发布主页 / Offical website http://www.fishlee.net/soft/simple_autoupdater/

使用建议 / Suggestion or Question 可以在 自动更新库知识社区 (推荐) 或 后花园论坛 发帖询问

更新日志 / Change Logs http://www.fishlee.net/soft/simple_autoupdater/#C-124

以上就是SimpleUpdater.NET如何自动升级项目,小编相信有部分知识点可能是我们日常工作会见到或用到的。希望你能通过这篇文章学到更多知识。更多详情敬请关注亿速云行业资讯频道。

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI