[Mono-list] Using PCL's causes parser errors in Xamarin Studio
curylod at asme.org
Tue May 26 14:21:13 UTC 2015
If I start a new project in Xamarin Studio, change the project compiler to Mono/.NET 4.5, add a package reference to Microsoft.TPL.Dataflow (a PCL), and then try to use anything from that reference, I get parser errors like the following:
“Parser Error: The type ‘Object’ is required here and is unavailable. You must add a reference to assembly ’System.Runtime, Version=184.108.40.206, …"
The code builds and runs fine on mono 4.0.1 since System.Object is in mscorlib, it just seems that the IDE is confused. Is there any way to satisfy the IDE so it will give me code completion back and stop with all the false error reports?
More information about the Mono-list