/mscorlib.dll 这个文件,在报错的机器上也有的
.net框架从2.0,也装到4.0了还是不行是什么问题导致的 ?
如何打包,能将工程中用到的系统库文件都打进来?谢谢See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.************** Exception Text **************
System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.Convert.ToInt32(String value)
at ReaderDemo.ReaderDemo2334.getIPInfFromIniFile()
at ReaderDemo.ReaderDemo2334.Form1_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
.net框架从2.0,也装到4.0了还是不行是什么问题导致的 ?
如何打包,能将工程中用到的系统库文件都打进来?谢谢See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.************** Exception Text **************
System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.Convert.ToInt32(String value)
at ReaderDemo.ReaderDemo2334.getIPInfFromIniFile()
at ReaderDemo.ReaderDemo2334.Form1_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
解决方案 »
- C# 调用 c++的dll
- Repeater嵌套来显示数据不显示
- DataGridView排序后和原来的绑定的数据(DataTable)的行号对应问题?
- 急:如何获得线程ID,在线等
- 急...问一个如何确定某一个坐标是否在一条直线上的问题?
- 关于下载指定网页html代码的问题
- datagridview 如何实现 这样的显示,有关数据绑定的问题
- 版主,请教你一个关于 socket 的问题
- ListView中可以加入图片和文字吗?
- 这是不是安装的问题?
- Dictionary<string, DataStruct.OnLineUsers> 类型的数据,在socket通信里怎么在字节数组类型之间相互转化?
- 递归
是不是这个文件的版本不一至引起的
是不是操作系统不一样,一个64位,一个是32位的,
这个应该不会吧直接EXE文件过去,报错的,,怀疑版本可以理解但是工程也搞过去,编译一下,就不报错。 但是,库没搞过去呀,,,
很邪门