梦网 发表于 2013-11-25 17:20:17

编译后程序运行出问题

我用visual studio2012 在WIN7、.net2.0环境下写了个程序,在本机上调试运行都没有出现问题;拿到其它XP系统、WIN7电脑上运行,结果出程序刚复制过去时可以的,10-30分钟后再开出现错误提示

“应用程序无法正常启动(0xc000007b)"
”************** Exception Text **************
System.IO.FileNotFoundException: Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. 系统找不到指定的文件。
File name: 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
   at 数据管理软件.Form3.button7_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.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)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value .

有没有高手能帮分析下,看是哪里出错了。谢谢

ibcadmin 发表于 2013-11-25 17:36:38

其他电脑是32位还是64位 , 杀毒软件关了在试下

梦网 发表于 2013-12-10 13:53:03

都是32位系统,杀毒软件都关了。。
页: [1]
查看完整版本: 编译后程序运行出问题