该系统找不到指定的文件,警告:程序集绑定关闭

浩洁 2014-05-12 03:18:25
System.Reflection.TargetInvocationException:Exception has been thrown by the target of an invocation.---> System.IO.FileNot FoundException:Could not load file or assembly 'System.Winows.Forms.DataVisualization,Version=3.5.0.0,Culture=neutral,
PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
File name:'System.Windows.Forms.DataVisualization,Version=3.5.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35'
at WindowsApp.Report.InitializeComponent()
at WindowsApp.Report..ctor()
WRN:Assembly binding is turn OFF

看不懂是什么意思,我的结构是这样的,MDI父窗体,其他都是子窗体,然而只有Report.这个窗体会弹出这个错误并且窗体不能显示
在我电脑上可以正常, 但是在别人的电脑不能正常显示,包括XP系统(装了3.5SP1插件)和Win7系统
...全文
114 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
wind_cloud2011 2014-05-13
  • 打赏
  • 举报
回复
应该是.net版本的问题,
浩洁 2014-05-13
  • 打赏
  • 举报
回复
目前是这样设置后把COPY过来的控件放在程序目录下,不知道有没有更好的解决方法?
浩洁 2014-05-12
  • 打赏
  • 举报
回复
是不是因为我这里面用了Chart控件的原因?要怎么解决?

110,536

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

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