Reference Xamarin PCL with external PCL’s

Asked

Viewed 36 times

0

Ola personal arose a doubt recently I did a project in wpf using mvvm pattern in which Fis layered. Now I want to rewrite the same project with Xamarin, and reuse the same pattern, only I came across the following situation in which Xamarin’s Pcl project cannot reference any other project presenting the following error

Unable to add reference to project 'mvvm.ViewModel'. Portable Library projects can only reference other Portable Libarary projects and assemblies.

So Xamarin Pcl has no reference to any other Pcl project?

1 answer

0


This must occur because of compatibility (Targets) between PCL’s.

See which platforms the PCL mvvm.Viewmodel is referencing. The targets of this PCL must be the same as the PCL that is receiving the reference.

  • I took the Xamarin trail at TDC SP last year. Nice to have someone like you here at SO-pt, @Angelobelchior ! It will greatly enrich the community. Be very welcome! :-)

  • 1

    Thank you. I’m not in the habit of answering things in the OS, I dropped here researching other things and ended up taking a look! I hope to build more :) Valew

  • @Angelobelchior I also hope you answer a lot, whatever you need, we are there.

  • Thank you very much! I will participate more :)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.