Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Porting windows project Resourcse into Android

$
0
0

I am trying to port a windows .net library into android using Xamarin studio. So far everything is smooth and compilable. In the windows project we have resources.resx file containing string values that I have ported across as it along with resources.designer.cs.

i.e.
/// Looks up a localized string similar to {{0:f{0}}} km.
internal static string DistanceInKilometres { get { return ResourceManager.GetString("DistanceInKilometres", resourceCulture); } }

When the code calls the Resources.DistanceInKilometres the resourceCulture throws null exception. Any work around this guys...???


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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