エラー: UnhandledException: System.Windows.Markup.XamlParseException: '/WPFToolkit;component/DataGrid/Themes/Luna.NormalColor.xaml' 値をオブジェクト 'System.Windows.ResourceDictionary' のプロパティ 'Source' に割り当てることはできません。
Could not load type 'System.Windows.Controls.Primitives.MultiSelector' from assembly 'PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Error at object 'System.Windows.ComponentResourceKey' in markup file 'WPFToolkit;component/DataGrid/Themes/Luna.NormalColor.xaml'. Error at object 'System.Windows.ResourceDictionary'. --->
System.Windows.Markup.XamlParseException: Could not load type 'System.Windows.Controls.Primitives.MultiSelector' from assembly 'PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Error at object 'System.Windows.ComponentResourceKey' in markup file 'WPFToolkit;component/DataGrid/Themes/Luna.NormalColor.xaml'. --->
System.TypeLoadException: Could not load type 'System.Windows.Controls.Primitives.MultiSelector' from assembly 'PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
次の例外が発生し続けます。Release フォルダーからアプリケーション exe を実行すると、例外が発生します。通常、Visual Studio でアプリケーションをデバッグする場合、例外はまったく発生しません。例外は、使用している DatePicker コントロールが原因であることがわかりました。コントロールを削除したかのように (リリース exe をビルドして再度実行すると)、例外はなくなります。
ここで何がうまくいかないのか、一体どうすれば解決できるでしょうか。
日付ピッカーは非常に良く見えますが、これは修正する必要があるように見えますが、送信ボタンが押されたときに検証するテキストボックスに切り替える傾向があるかもしれません! がっかり...