Click here to Skip to main content
15,915,093 members

Comments by Laurence1234 (Top 57 by date)

Laurence1234 7-Aug-13 5:10am View    
Hi SA,

I've actually solved this problem now. The problem was down to the Default Namespace being incorrectly set in the properties of the .csproj file. Once I set this this and added my resx files, I right clicked on the resx and selected "Run Custom Tool". When I rebuilt my solution the compiler generated a .dll for each resource and placed it into a folder corresponding to the appropriate culture. I assume these are the satellite assemblies you mentioned.

I think I was stuck because I didn't realize if you correctly place your resx into the properties folder of your project and run the custom tool it's actually automating the process of manually using RESGEN then AL.EXE to build the resource file and compile this into the binary satellite assemblies for each culture (or lanaguage to use my previous terminology).
Laurence1234 6-Aug-13 4:30am View    
HI SA,

As always, thanks for your answer - my 5.

In this situation however I have already have the pre-populated ".resx" files. These files contain only strings, translating labels into different languages. I have 4 of these files and rather than re-adding all these entries, I want the static resource class to be automatically generated including the resource entries from all the files (I had to remove the previous version as it was in the wrong namespace).

Using a tool such as RESGEN, I want to pass in all of the 4 files as arguments and the strongly typed class that is generated therefore should include the translations from all 4 resx files.

Sorry perhaps I didn't explain it well enough. Your answer is very useful for the future by the way.
Laurence1234 29-Jul-13 8:02am View    
I think so. I think I'll have to make a ScreenCast to show what I mean.

Cheers,
Laurence1234 26-Jul-13 19:33pm View    
Hi SA,

I mean the app has not been suspended, it is not in snapped view or any other visual state, but another app is in focus.

The user is able to re-open that app by opening what I assume is the metro equivalent of the task bar, which is accessed in the top left hot corner.

Many thanks, Larry.
Laurence1234 23-Jul-13 11:50am View    
Yes, this was wrapped in the Style element as I was setting it in my standardstyle.xaml.