0
我試圖在Monodevelop中編譯我的AirConsole項目,所以我可以調試它。AirConsole Unity插件給編譯器錯誤 - 'DataContractAttribute'找不到
它給出了一個編譯器錯誤從隨附的「Newtonsoft.JSON」庫:
The type or namespace name `DataMemberAttribute' could not be found. Are you missing an assembly reference? (CS0246) (Assembly-CSharp)
該項目從Unity建立精細的運行;只有當您嘗試在Monodevelop中點擊「運行」時纔會出現此錯誤,以啓用調試器。
有沒有簡單的方法來解決這個錯誤?
這些線程描述了同樣的問題(和解決方案): http://stackoverflow.com/questions/12687315/datamember-could-not-be-found http://stackoverflow.com/questions/7401795/命名空間換datacontract – Alice