Reputation: 643
I am trying Xamarin forms a Multilanguage demo. In this, I tried both the options 1) plugin. Multilanguage package 2) static resource(without plugin). I just downloaded the demo from the following site 1) https://github.com/CrossGeeks/MultilingualPlugin 2) https://learn.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/localization/text?pivots=windows
But both the demo not picking another language key. I appreciate your help.
Upvotes: 1
Views: 328
Reputation: 739
This is an error after Visual Studio update (Version 8.6 (build 4520)). There is a workaround to use the Last stable version of Android SDK.
In Android.csproj, at the last line (inner the tag project) add the follow lines:
<Target Name="_ResolveSatellitePaths" DependsOnTargets="_ResolveAssemblies">
<ResolveAssemblyReference AllowedAssemblyExtensions="$(AllowedReferenceAssemblyFileExtensions)" AssemblyFiles="@(ResolvedUserAssemblies)" AutoUnify="$(AutoUnifyAssemblyReferences)" FindDependencies="True" FindRelatedFiles="False" FindSatellites="True" SearchPaths="$(AssemblySearchPaths)" TargetFrameworkMoniker="$(TargetFrameworkMoniker)" TargetFrameworkMonikerDisplayName="$(TargetFrameworkMonikerDisplayName)" TargetFrameworkDirectories="$(TargetFrameworkDirectory)">
<Output TaskParameter="SatelliteFiles" ItemName="_AndroidResolvedSatellitePaths" />
</ResolveAssemblyReference>
</Target>
EDIT:
there is already a VS update that solves this problem.
Upvotes: 2