Using PCL's causes parser errors in Xamarin Studio

David Curylo <[email protected]>
Newsgroups gmane.comp.gnome.mono.general
Message-ID <[email protected]>
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=4.0.0.0, …"

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?
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.