马上加入IBC程序猿 各种源码随意下,各种教程随便看! 注册 每日签到 加入编程讨论群

C#教程 ASP.NET教程 C#视频教程程序源码享受不尽 C#技术求助 ASP.NET技术求助

【源码下载】 社群合作 申请版主 程序开发 【远程协助】 每天乐一乐 每日签到 【承接外包项目】 面试-葵花宝典下载

官方一群:

官方二群:

编译后程序运行出问题

[复制链接]
查看3085 | 回复2 | 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 [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

有没有高手能帮分析下,看是哪里出错了。谢谢
ibcadmin | 2013-11-25 17:36:38 | 显示全部楼层
其他电脑是32位还是64位 , 杀毒软件关了在试下
C#论坛 www.ibcibc.com IBC编程社区
C#
C#论坛
IBC编程社区
梦网 | 2013-12-10 13:53:03 | 显示全部楼层
都是32位系统,杀毒软件都关了。。
*滑块验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则