【解决方法】System.IO.FileNotFoundException

来源:互联网 发布:邱泽 知乎 编辑:程序博客网 时间:2024/06/05 04:50

错误日志

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.************** 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'

原因分析

项目类型:winFrom

开发环境:windows 7, VS 2008

运行环境:windows xp

我编译的环境是.Net 3.5,而客户机找不到.Net 3.5的内核程序。打开程序管理,果然,客户机只装了.net 2.0。


解决方法

给客户机安装.net 3.5 

原创粉丝点击