返回首页

嗨,有什么解决这个错误?

System.IO.FileNotFoundException

Could not load file or assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. The system cannot find the file specified

 

System.Windows.Markup.XamlParseException was unhandled

  Message='The invocation of the constructor on type 'WpfApplication1.MainWindow' that matches the specified binding constraints threw an exception.' Line number '5' and line position '9'.

  Source=PresentationFramework

  LineNumber=5

  LinePosition=9

  StackTrace:

       at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
。---------------------------------------------- -----

回答

评论会员:游客 时间:2012/02/07
codeprespanclass="code-string"'/spanspanclass="code-string"Theinvocationoftheconstructorontype'/spanWpfApplication1.MainWindowspanclass="code-string"'/spanspanclass="code-string"thatmatchesthespecifiedbindingconstraintsthrewanexception.'/spanLinenumberspanclass="code-string"'/spanspanclass="code-string"10'/spanandlinepositionspanclass="code-string"'/spanspanclass="code-string"9'/span/pre/code的:穆罕默德・侯赛因・Shojaei
{体C3}
评论会员:游客 时间:2012/02/07
韦恩Gaylard:有一些在主窗口的XAML绑定错误。你能告诉你的XAML代码-它添加到你原来的问题,采用改进的问题按钮