SharpUpdater 程序更新

一只鬼 2014-05-19 03:17:16


************** 异常文本 **************
System.ArgumentException: invalid version number 版本号无效

在 CnSharp.Windows.Updater.Util.ReleaseList.GetIntFromArray(String[] array, Int32 i)
在 CnSharp.Windows.Updater.Util.ReleaseList.CompareVersion(String currentVersion, String newVersion)
在 CnSharp.Windows.Updater.Util.ReleaseList.GetDifferences(ReleaseList otherList, Int64& fileSize)
在 CnSharp.Windows.Updater.UpdateForm.Init()
在 CnSharp.Windows.Updater.UpdateForm.FormUpdate_Load(Object sender, EventArgs e)
在 System.Windows.Forms.Form.OnLoad(EventArgs e)
在 System.Windows.Forms.Form.OnCreateControl()
在 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
在 System.Windows.Forms.Control.CreateControl()
在 System.Windows.Forms.Control.WmShowWindow(Message& m)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.ScrollableControl.WndProc(Message& m)
在 System.Windows.Forms.ContainerControl.WndProc(Message& m)
在 System.Windows.Forms.Form.WmShowWindow(Message& m)
在 System.Windows.Forms.Form.WndProc(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
弄不明白。。。帮帮忙
...全文
3571 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
changjiangzhibin 2014-05-30
  • 打赏
  • 举报
回复
1、 version number 的填写格式 2、更新的版本判断依据
feiyun0112 2014-05-20
  • 打赏
  • 举报
回复
是不是version number 填的不对

这个你最好去问原作者
http://sharpupdater.codeplex.com/
一只鬼 2014-05-20
  • 打赏
  • 举报
回复
应该不会,比如之前我设置的是1.1.0.0这样的,那我后期肯定是更改版本的比如改成2.2.0.1,后来再改成2.2.0.4之后就不行了

17,740

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 .NET Framework
社区管理员
  • .NET Framework社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧