使用Newtonsoft的JSON C#问题

本文关键字:问题 JSON Newtonsoft 使用 | 更新日期: 2023-09-27 18:00:36

尝试使用Newtonsoft编译项目。Json。WindowsPhone参考和我在构建时收到2个错误。我正在为windows mobile 6.0和最新版本的Newtonsoft 4.0进行编译,我没有参考系统。Windows可供选择,系统已被引用。关于如何解决这个问题有什么想法吗?

 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'.

使用Newtonsoft的JSON C#问题

Okay通过下载3.5版本的Newtonsoft并使用Compact版本的Newton soft找到了答案。Json。Compact.dll。