我加System.Windows.dll中的refernence到我的項目因爲我需要它的錯誤彈出出局的某些頁面,但很多像衝突參考組件
類型「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 \框架\ Silverlight的\ V4.0 \ System.Windows.dll中」
一第二
類型 'System.Windows.RoutedEventArgs' 兩個 「C存在:\程序文件(x86)\參考 大會\微軟\ Framework.NETFramework \ V4.0 \資料\客戶端\ PresentationCore。 DLL」 和 'C:\ Program Files文件(x86)的\參考 大會\微軟\框架\ Silverlight的\ V4.0 \ System.Windows.dll中'
,還有更多的錯誤,指出存在既是組件。我該如何解決?
讓你在同一個應用程序中使用Siverlight和WPF? –
是我有一個WPF應用程序,但我正在將Silverlight源代碼移動到WPF – user2376998