2011-06-27 9 views
4

Newtonsoft.Json.WindowsPhoneリファレンスを使用してプロジェクトをコンパイルしようとしていて、ビルド時に2つのエラーが発生します。私はWindows Mobile 6.0とNewtonsoft ver 4.0の最新バージョン用にコンパイルしていますが、System.Windowsへの参照は選択できず、Systemは既に参照されています。どのようにこれを修正するための任意のアイデア?オーケーNewtonsoftを使用したJSON C#の問題

The type 'System.Collections.Specialized.INotifyCollectionChanged' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' 

The type 'System.ComponentModel.INotifyPropertyChanged' is defined in an assembly that is not referenced. You must add a reference to assembly 'System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'. 

答えて

4

はNewtonsoftの3.5バージョンをダウンロードして、Newtonsoft.Json.Compact.dllをコンパクトバージョンを使用して、答えを見つけました。

+0

WindowsPhone dllは、Windows Phone 7以降のためのものです。 –

関連する問題