GH2691: Make XmlnsDefinitionAttribute public (#2782)
authorPeter Moore <13384523+legistek@users.noreply.github.com>
Thu, 29 Nov 2018 13:58:34 +0000 (07:58 -0600)
committerStephane Delcroix <stephane@delcroix.org>
Thu, 29 Nov 2018 13:58:34 +0000 (14:58 +0100)
commit1cef4471ce00a3ae7e4813ef1a746224c2a39390
tree06398f9f68993f284aec2c5c3b60d3b955b4bee8
parent4db654df0732e2bab512d3ec6cc487836d4abc92
GH2691: Make XmlnsDefinitionAttribute public (#2782)

* Make XmlnsDefinitionAttribute public. Change XamlC, XamlG, and XamlParser to search for all referenced/available assemblies for attribute and referenced types. Add XAML unit tests and control gallery entry.

* change ns for xmlnsdefattribute

- fixes #2691
12 files changed:
.nuspec/Xamarin.Forms.targets
Xamarin.Forms.Build.Tasks/XamlGTask.cs
Xamarin.Forms.Build.Tasks/XamlGenerator.cs
Xamarin.Forms.Build.Tasks/XmlTypeExtensions.cs
Xamarin.Forms.Controls/Controls/GH2691Controls.cs [new file with mode: 0644]
Xamarin.Forms.Controls/Properties/AssemblyInfo.cs
Xamarin.Forms.Core/XmlnsDefinitionAttribute.cs
Xamarin.Forms.Xaml.UnitTests/Issues/GH2691.xaml [new file with mode: 0644]
Xamarin.Forms.Xaml.UnitTests/Issues/GH2691.xaml.cs [new file with mode: 0644]
Xamarin.Forms.Xaml.UnitTests/Xamarin.Forms.Xaml.UnitTests.csproj
Xamarin.Forms.Xaml/Properties/AssemblyInfo.cs
Xamarin.Forms.Xaml/XamlParser.cs