Bug 40864 - Make types required to add new platform support on Xamarin.Forms public
Summary: Make types required to add new platform support on Xamarin.Forms public
Status: RESOLVED ANSWERED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.2.0
Hardware: PC Windows
: --- blocker
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-05-04 15:44 UTC by Gutemberg
Modified: 2016-06-14 20:32 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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.

Related Links:
Status:
RESOLVED ANSWERED

Description Gutemberg 2016-05-04 15:44:34 UTC
# Steps to reproduce
Have a look on https://github.com/xamarin/Xamarin.Forms/blob/master/Xamarin.Forms.Core/Properties/AssemblyInfo.cs#L23-L56

# Expected behavior
Types from Xamarin.Forms.Core that are required on any Xamarin.Forms.Platform.XXX must be public. 

# Actual behavior
All types are only available to Xamarin.XXX dlls which makes impossible to add new platforms to Xamarin.Forms. To cheat on that, we have to change our assembly name to Xamarin.Forms.Platform.WP8 for instance. That is really unecessary today and block any new platform to join into.

# Supplemental info (logs, images, videos)
I understand that before the Xamarin is OSS'ed they were internal and only supported platforms are allowed however, today people want to add new ones but are blocked by this limitation. Please change it all to public on each type necessary.
Comment 1 Paul DiPietro [MSFT] 2016-06-14 20:32:55 UTC
For public changes to the API, please check out the Xamarin.Forms Evolution guidelines at https://github.com/xamarin/xamarin-evolution/tree/master/xamarin.forms or the mailing list at http://lists.xamarin.com/mailman/listinfo/forms-devel.