再生产:
- 创建 Silverlight 项目
- 将其转换为版本 5
- 添加对 Silverlight 工具包的引用(使用 NuGet 或直接)
- 将 DataForm 添加到您的页面
- 这是 DataForm 构造函数抛出的异常:
{System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Controls.Data.Input, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. [IO.FileName_Name] Arguments: System.Windows.Controls.Data.Input, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.0.60401.00&File=mscorlib.dll&Key=IO.FileName_Name at System.Windows.Controls.DataForm..ctor()}
- 转回 Silverlight 4
- 现在一切都变酷了
奇怪的注意:它确实在 VS/Exp 中工作。融合 5 位设计师
有任何想法吗??解决方法???