【发布时间】:2011-06-27 21:37:52
【问题描述】:
尝试使用 Newtonsoft.Json.WindowsPhone 参考编译项目,构建时出现 2 个错误。我正在为 windows mobile 6.0 和最新版本的 Newtonsoft ver 4.0 进行编译,我没有对 System.Windows 的引用可供选择,并且 System 已被引用。有关如何解决此问题的任何想法?
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'.
【问题讨论】:
标签: c# json compiler-errors json.net