I've added the XBox Live Unity asset package to my project and I'm getting this error in Unity. It doesn't show in Visual Studio strangely but it stops me from running my app.
error CS7069: Reference to type `System.ComponentModel.INotifyPropertyChanging' claims it is defined assembly `System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089', but it could not be found
The line the error refers to is as follows
JObject response = JsonConvert.DeserializeObject( request.text ) as JObject;
request is a Unity WWW
object.
I was using this asset package in my app but I've removed it as it looks like XBox Live includes a precompiled dll of this already?
So it looks like JObject
is the problem. Changing to JContainer
solves the problem without any further code changes