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

Reference Error in globalization

$
0
0

Hello all

Please can anyone help me?

When I am trying to globalize my texts using this XAML code:

xmlns:translate="clr-namespace:MeatStore.Supports;assembly=LocalizationSample"

 x:Class="MeatStore.Views.Onboarding">

        <StackLayout>

                <Label Text="{translate:Translate MeatSore}" />

        </StackLayout>

</ContentPage>

Error apears:

Severity Code Description Project File Line Suppression State
Error XLS0414 The type 'translate:Translate' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies >have been built. MeatStore.Android Onboarding.xaml 11

and

Failed to resolve assembly: 'LocalizationSample, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' MeatStore.UWP

I am using Xamarin.form Shared Project in VS Enterprize

What is wrong with my code?


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>