How we create resource satellite assemblies

I have an assembly that uses resx files to store all displayed lines. Now I want to create a satellite assembly that contains French versions of strings.

Can this be done in VS? Am I just creating a new assembly, will I name it correctly and include the localized versions of the resx file?

+3
source share
2 answers

Just add the new resource file with the correct name to the existing project, and VS will create satellite assemblies.

- filename.locale.resx. filename , locale - . . "en" "en-gb" "en-us" ( , : , ).

+5

"" > "" > "Visual Studio 2010" > "Visual Studio Tools" > "Visual Studio Command Prompt" [ " " ]

Exact , resex,

c:..\yourAppname [.] App_localresources > al/t: lib/embed:ucCreditNote.ascx.[culture , . en-US].resx/: [ , . ru-ru]/out:bts.resources.dll

+1

Source: https://habr.com/ru/post/1706904/


All Articles