Visual Studio 2019 升级到16.6.0,Bug真不是一般的多!Xamarin.Forms通过ResourceManager的GetString(Text, cultureInfo)方式实现多语言读取Resources.resx|Resources.zh-CN.resx|Resources.en-US.resx出现总是返回Resources.resx中的内容,无论cultureInfo是什么语言!

解决办法:通过记事本打开.csproj文件,在文件最后</Project>标记之前加入:

<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>

保存,重新加载项目!问题解决!