Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 7526 [details]
I have a c# library whose target framework is Mono/.NET 4.5. I can not reference it from another portable library whose target framework contains .NET 4.5 or later.
A PCL project can only reference projects/libraries that target the same PCL profile. However, a PCL library/project can *be referenced* from projects that target any of the frameworks the PCL profile supports.
The reason why: suppose you had a PCL library that used a profile that supported .NET 4.5 and Windows Phone 8. That means you could reference the PCL project from a Windows Phone 8 project. It wouldn't make sense for the PCL project to be able to reference a .NET 4.5 library, because then a Windows phone project could indirectly reference a .NET 4.5 library, which would not work.