Provide strings to localize in a text file
I am actualy testing C# in VS2005 and i compare fonctionalities with C++ that i used in VC2003.
I found that in a C# project, there is no property pages for files like in a C++ project.
I used the property page in C++ project to perform custom build : compile a text file to resource using ResGen and then add this to the assembly just setting the Linker corresponding option.
It seems not to be possible in a C# project because ResGen.exe is not registered as a CustomTool.
Is there a simple way with a C# project to create a text file that can be localized later by a third party as a form ca be with WinRes.exe?
Hi Nicolas. Every VS2005 C# WinForms project includes a default Resources.resx in its Properties folder. This file is intended to hold project-wide, strongly-typed resource strings (separate from Form resources). It's hidden by default, but if you click the 'Show All Files' button in Solution Explorer, the file and its associated ResourceManager object class are displayed. You can also create addtional string RESX files, though you'll need to create and manage your own ResourceManager object for each of these.
Cheers,
Garrett