Posted on 2008-05-23 11:05
狐狸马三 阅读(2501)
评论(1) 编辑 收藏
在网上看了一些解决方法,但试了之后都不管用。在运行的时候总是提示“未能从程序集 ...中加载类型 ...”,后来修改了解决方案的项目依赖项,使网站项目依赖于程序集。重新生成项目后,网页可以运行了。
不行哦
System.Windows.Markup.XamlParseException: Element is already the child of another element. [Line: 0 Position: 0] ---> System.IO.FileNotFoundException: 未能加载文件或程序集“System.Windows.Controls.Toolkit.Internals, Version=4.0.5.0, Culture=neutral, PublicKeyToken=2c5c654d367bf4a7”或它的某一个依赖项。The system cannot find the file specified.