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 60698 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
Created attachment 25722 [details]
We're having an exception when calling the following from either a Shared Project or a Class Library (.NET Standard):
Stacktrace is attached to this message.
Please give us a reproduction project to help investigate the issue when you get a chance. Thanks!
Created attachment 25737 [details]
You'll find a reproduction project attached to this message. The exception will occur in MainPage.xaml.cs where 'Microsoft.Extensions.PlatformAbstractions.PlatformServices.Default' is called
I can confirm this crash for now via the reproduction, but I'm not entirely certain what the use case is or if it's a Forms issue in particular. It also appears that this package has not been updated for quite some time. Can you elaborate on the need for this?
PlatformAbstractions is currently used in gax-dotnet which is a library for communicating with Google Cloud (https://github.com/googleapis/gax-dotnet/blob/9105516e17a4466735ade5ad6e1afdd2ca881f97/src/Google.Api.Gax/VersionHeaderBuilder.cs#L51).
I'm not really aware of the internal of Xamarin, but it looks like this package is not compatible with it.
Could you confirm me if it's something that the Xamarin/Mono/other team should fix? If not I'll raise an issue on gax-dotnet so the library can be fixed to work with Xamarin.
Issue has been raised on the gax-dotnet github (https://github.com/googleapis/gax-dotnet/issues/231#issuecomment-359447034).
The Microsoft.Extensions.PlatformAbstractions lib is no longer supported (https://github.com/aspnet/PlatformAbstractions) but seeing as it is a "Microsoft" library it would be nice if Xamarin added support...