There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Use ResourceLoader.GetForViewIndependentUse instead of ResourceLoader.GetForCurrentView
In the constructor of the generated Resources class, the ResourceLoader.GetForCurrentView() method is used to instantiate the resource loader. This method causes an exception with the message 'Resource Contexts may not be created on
threads that do not have a CoreWindow.' when called by a non UI thread.
This is really inconvenient when used in library assemblies, when one has no control on which thread one's methods will be called on.
I believe the use of ResourceLoader.GetForViewIndependentUse would be more appropriate.