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 for Bug 44976 on
Developer Community or GitHub if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
1) Create C# Froms app
2) Add C# PCL
3) Add F# PCL
4) Try to add a reference from the C# PCL to the F# PCL
-> In the reference dialog you will see: Incompatible framework Definition: :NETFramework=v4.5;Profile=Profile78)
See https://forums.xamarin.com/discussion/comment/216184#Comment_216184 for further information
Tried to reproduce with this solution - https://github.com/nosami/bug44976
In your Github repo you reference a C# PCL from a F# PCL. That works. But You cannot reference a F# PCL from your C# PCL. I tried it with Version 6.1.1 (build 15)
1. Remove reference in fspcl to the cspcl
2. Try to add a reference in the cspcl to the fspcl
Created attachment 17949 [details]
I updated the repo to reference F# from C#. Notice that I am just referencing the dll output from the F# project. There is an issue (already on my radar) that F# project references aren't working from C# projects.
Created attachment 17950 [details]
Project reference screenshot
Still not seeing what you are seeing though with the project reference.
If I switch over the reference to be a Project reference instead of an Assembly reference, the reference is added fine, but there are red squiggles in the editor. It builds fine though.
Anything that I can do to help you to reproduce it? I can reproduce the problem on 2 computers. The only difference that I see is that my startup project is Droid as I do not have a Mac. And maybe the OS Culture is different (DE-de) but that shouldn't be a problem.
Maybe we can talk on slack or you can have a look remotely?
I tried again and I'm seeing the same thing now. Will fix.
Great, let me know if I can help you somehow.
Created attachment 18133 [details]
First time trying to add a reference
Created attachment 18134 [details]
Same dialog after restarting XS
So... this issue goes away after restarting XS. It only fails the first time.
Created attachment 18135 [details]
First time trying to add a reference
I uploading the wrong image first time, oops
I restarted it a couple of times. Always the same problem...
Are you on xamarinchat.slack.com? My username is kct. If you like you can have a look remotly via TeamViewer.
Im using Win10 as OS if case that is another difference
I didn't even know about xamarinchat.slack.com :) I'm on fpchat and fssf slacks though.
Let me investigate why it doesn't work the first time on OSX first - it's probably the same issue on Win!0
I'm on fssf slack, too. Just ping me if you'd like to see the reproduction steps. I used your repo and updated to the latest XS and Xamarin beta
Created attachment 18138 [details]
Working in VS
So, this is working fine for me in VS2015 on Win10
Created attachment 18139 [details]
Working in Windows
It worked in XS on Windows too, but only after I removed the fspcl reference and added it back.