建议为自动更新我的C#程序的方法 [英] Suggest a method for auto-updating my C# program

查看:174
本文介绍了建议为自动更新我的C#程序的方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要保持我写最新的一个程序,这将频繁发生,在未来一年左右的时间,这将需要在互联网上完成。你会在哪里建议我开始,还有什么共同的技术?任何建议表示欢迎。

I need to keep a program I've written up to date, this will happen frequently over the next year or so, this will need to be done over the Internet. Where would you suggest I start, are there any common techniques? Any suggestions welcome.

感谢

推荐答案

相当好不够好:)

NAppUpdate是我写的,以解决眼前这个开放源码库。总的想法是有最大的灵活性,以最低的开销可能。

NAppUpdate is an open-source library I wrote to address just this. The general idea is to have the greatest flexibility, at the lowest overhead possible.

因此​​,整合是超级简单,和库做pretty多为你的一切,包括同步操作。它也非常灵活,它可以让你决定什么任务来执行和以何种条件 - 你设置的规则。通过并非最不重要的最后为任何更新源(网络,BT下载等),任何饲料格式的支持 - 无论是没有实现你可以自己写

So, integration is super-easy, and the library does pretty much everything for you, including synchronizing operations. It is also highly flexible, and lets you determine what tasks to execute and on what conditions - you set the rules. Last by not least is the support for any updates source (web, BitTorrent, etc) and any feed format - whatever is not implemented you can just write by yourself.

冷更新(需要重新启动应用程序)也支持,并且除非任务指定的热插拔自动完成的。

Cold updates (requiring an application restart) are also supported, and done automatically unless "hot-swap" is specified for the task.

这一切都归结为一个DLL,大小小于70KB。

This all boils down to one DLL, less than 70kb in size.

在<一个更多细节href=\"http://www.$c$c972.com/blog/2010/08/nappupdate-application-auto-update-framework-for-dotnet/\">http://www.$c$c972.com/blog/2010/08/nappupdate-application-auto-update-framework-for-dotnet/

code是在 http://github.com/synhershko/NAppUpdate (在Apache 2.0许可证授权)

Code is at http://github.com/synhershko/NAppUpdate (Licensed under the Apache 2.0 license)

这篇关于建议为自动更新我的C#程序的方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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