Forum Cross Platform with Xamarin
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Cannot add library project reference to IOS project

I want to do a cross platform app, and I need a core project which contains all my business logic, and all the code that can be reusable. After I add a new c# library project to the solution, I canot get my IOS project to get a reference to it, since it says: Incompatible target framework: .NETFramework,Version=v4.0.

I tried changing the project taget, but it did not work either. I also tried adding a PCL project, and this time I can add the reference to my IOS project, however, the references: System, System.Core, System.Xml are all messed up, and there are some objects such as IEnumerable, which are not defined anywhere in this type of project.

Am I doing anything wrong? or missing something here??


Sign In or Register to comment.