Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Local XAML namespace in Shared project

$
0
0

Hello,

I tried to declare a local XAML namespace in my pages in a Shared Xamarin.Forms project like this :

     xmlns:local="clr-namespace:MyProject.Example;assembly=MyProject.Example"

It doesn't work, and that is obvious because a Shared project isn't built but its content is copied in other projects with different assemblies (MyProject.Example.iOS, MyProject.Example.Android, ...).

How can I achieve this ?

Thank you !


Viewing all articles
Browse latest Browse all 58056

Trending Articles