According to here , you need to use the Windows.ApplicationModel.Resources.ResourceLoader and Windows.ApplicationModel.Resources.Core namespace to interact with resw files.
It should look something like this:
var loader = new Windows.ApplicationModel.Resources.ResourceLoader(); var text = loader.GetString("Farewell");
Alternatively, if you are creating a cross-platform library, you can also do this using System.Resources.ResourceManager :
Although the System.Resources.ResourceManager class is included in .NET for Windows Store applications, we do not recommend using it. use of the ResourceManager only in libraries that are developed as portable classes Library projects and aimed at several platforms.
How is it from here :
ResourceManager rm = new ResourceManager("Strings", typeof(Example).Assembly); string timeString = rm.GetString("TimeHeader");
source share