开发者

Updating the version of a C# program

开发者 https://www.devze.com 2023-02-04 13:41 出处:网络
I have a simple C# progra开发者_如何学运维m where I need to update the version of it through the program (not manually. i.e. via a user input or so). Is there any way to do it?Try to download reflecto

I have a simple C# progra开发者_如何学运维m where I need to update the version of it through the program (not manually. i.e. via a user input or so). Is there any way to do it?


Try to download reflector.net , it has a self update facility.Basically you can add code to your program to check a url or webservice that send a message that you have a new version number.Then you prompt the user telling him that there is an update and on a different thread download the update,once you get the flag that the download is complete you unzip the update and then run another exe that will update your application or and you can shutdown you application in between.....


If I understand your question correctly, what you want is the version settings for a build? Right click your project-> properties -> assembly information.

Or are you looking for a way to do this through code?

0

精彩评论

暂无评论...
验证码 换一张
取 消