System.Windows.dll の参照をプロジェクト cos に追加しましたが、いくつかのページが必要ですが、多くのエラーが表示されます
タイプ「System.Windows.MessageBox」は、「C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\Profile\Client\PresentationFramework.dll」と「C:\Program Files」の両方に存在します。 (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Windows.dll'
と
タイプ「System.Windows.RoutedEventArgs」は、「C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\Profile\Client\PresentationCore.dll」と「C:\Program Files」の両方に存在します。 (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Windows.dll'
存在するというより多くのエラーは両方のアセンブリです。これを修正するにはどうすればよいですか?