We are trying to build our projects, which was not a problem until today.
We got a solution with several projects, including Portable Class Library (PCL) projects. We successfully created them before, but our Macbook lost the ability to create these projects.
I get a total of 31 build errors for each 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 make sure this always happens, I created a new solution with a new PCL project. I tried to compile this, and I had the same errors there. After checking the links, I see that they are all red.
I am using Xamarin Studio 4.0.10, but I also tried it in MonoDevelop. And without success.
I can just create a project in the VS + Xamarin.iOS plugin and click it on mac, and it just starts. But, based on the Mac itself, it no longer works.
Additional, possibly related information:
- We used to develop a Mac. After expanding the monotouch license, we downloaded the Xamarin.iOS plugin and continued development on a computer running Windows.
- After the license renewal, we also received new updates for monotouch and Xamarin
- We have not built directly on the Mac since the license was renewed.
- We decided to build it directly on the Mac today because we were unable to run the application on the device itself from Visual Studio.
Any possible solutions are welcome.
source share