Skip to content

Use ReswPlus in my project

Rudy Huyn edited this page Aug 1, 2019 · 1 revision

Right-click on the .resw file corresponding to the default language of your application (commonly /Strings/en/Resources.resw or /Strings/en-us/Resources.resw) and select the menu ReswPlus.

In the submenu, select:

  • Generate only accessors: generate stronged typed generation accessors + custom markup
  • Generate advanced class: all the above + string formatting, pluralization (including empty state), support of variants, string formatting...

ReswPlus will then automatically generate a class associated to your Resource file:

C# support

ReswPlus will generate a .cs file associated to the .resw.

You will not need to use the context menu afterwards, all the changes you make will automatically be taken into account when you modify the resource file after saving.

C++/CX support

ReswPlus will generate a .h and a .cpp file associated to the .resw.

With C++ project, ReswPlus won't automatically detect that the resw file had changed, you will need to use the context menu again to take into account the future modifications.

C++/WinRT support

ReswPlus will generate automatically a .h, .cpp and a idl file associated to the .resw.

With C++ project, ReswPlus won't automatically detect that the resw file had changed, you will need to use the context menu again to take into account the future modifications.

VB.Net support

ReswPlus will generate automatically a .vb file associated to the .resw.

You will not need to use the context menu afterwards, all the changes you make will automatically be taken into account when you modify the resource file after saving.