Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Referencing a PCL (Portable Class Library) from a Xamarin Mono for Android project

I am using Mono for Android to create an Android application.

I'd like to reference some other library i've written in this project (Compiled as a portable class library).

Whenever i attempt to do so, i get an error saying: "The current project does not support references to Portable Library projects.".

Is there any way to overcome this?

Referencing the compiled project output works just fine.

like image 939
lysergic-acid Avatar asked Dec 22 '12 20:12

lysergic-acid


1 Answers

Check out this post by Stuart Lodge on using PCLs across various platforms, including Mono for Android. It goes through the different steps you need to take to get it working properly, as well as numerous problems you might run into along the way.

like image 171
Greg Shackles Avatar answered Sep 22 '22 15:09

Greg Shackles