I'm trying to work with a portable class library for my GTK# application. But whenever I try and use a class from my PCL I end up with the following error:
c:\Users\simon\Documents\testPortable\testGTK\MainWindow.cs(3,3): Error CS0012: The type 'System.Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=184.108.40.206, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. (CS0012) (testGTK)
I'm not really sure what's going on here? The PCL runs fine in my Xamarin forms android project.
My guess is my GTK# project isn't referencing the .net portable subset, but instead the standard .net library, but I'm not very sure what to do about it.
I'm running Xamarin 5.9.6. Let me know if you need more details.
Any pointers would be much appreciated, thanks!
I've attached the project files in the .rar file.