We're trying to get our projects to build, which wasn't a problem until today.
We got a solution with multiple projects including Portable Class Library (PCL) projects. We've successfully built those before but our Macbook lost the capability to build those projects.
I get a total of 31 build errors for every PCL project:
- The predefined type 'System.Object' is not defined or imported (CS0518)
- The predefined type 'System.ValueType' is not defined or imported (CS0518)
- The predefined type 'System.Attribute' is not defined or imported (CS0518)
- 28 more times the same error stating other basic classes like Int16, Int32, Double, Single, etc.
To see if this always happens, I've created a new solution with a new PCL project. Tried to compile that and I got the same errors there. After checking the references, I see that they're all 'red'.
I'm using Xamarin Studio 4.0.10 but I also tried it in MonoDevelop. Both without success.
I can simply create a project in VS + Xamarin.iOS plugin and push that to the mac and it'll just run. But building on the Mac itself, doesn't work anymore.
Extra, possibly related info:
Any possible solutions are welcome.
This is a bug in the current version (3.2.0)
You can:
Although the alpha build (3.2.1) is able to build a new PCL project but that's all about it. For me it fails to recognise many keywords and gives nonsense errors on my actual project. If I find a fix I'll post it here.