Loading Resources in Windows Ph8/Windows Store applications #1232

rustd opened this Issue Jan 4, 2013 · 7 comments

4 participants


We are unable to load resource strings from resource assemblies in the following 2 platforms.
There is nothing wrong with how we are packaging up our resource assemblies for the .NET client but I think it is the way the resources are used in these platforms
I verified this by creating my own class library which had a resource in it and this resource was not loaded correctly in either of these platforms. I get the following exception while trying to load the resource

Could not find any resources appropriate for the specified culture or the neutral culture. Make sure \"PhoneClassLibrary1.resources\" was correctly embedded or linked into assembly \"PhoneClassLibrary1\" at compile time, or that all the satellite assemblies required are loadable and fully signed."

We need to figure out how to load resources in these platforms


This means that any exception messages thrown by the clients will not be displayed correctly to the developer since the phone/windows 8 store platform cannot locate the resources

SignalR member

This could be caused by the client assembly wasn't being signed until very recently, Can we try again with latest drops?

SignalR member

This is due to the logical name for the generated resource classes being different for each .NET client type when they should be the same. This needs to edited manually in the csproj files.

    <EmbeddedResource Include="..\Microsoft.AspNet.SignalR.Client\Resources.resx">
@halter73 halter73 was assigned Jan 11, 2013
SignalR member

Moved to RTW

SignalR member

WinRT is still broken.

SignalR member

Fixed for WP8 by d047308

@davidfowl davidfowl added a commit that referenced this issue Jan 16, 2013
@davidfowl davidfowl Fixed WinRT resource loading. 3ab2752
@rustd rustd was assigned Jan 16, 2013

verified as fixed

@rustd rustd closed this Jan 16, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment