Refactor to resource file for a form

Topics: User Forum
Dec 26, 2006 at 1:01 AM
hi, I am editing a form's .cs file, and i want to refactor to the form's .resx file, is this possible?
Dec 26, 2006 at 2:19 AM
Resource refactoring tool requires resource files to use ResXFileCodeGenerator custom tool, since that custom tool generates necessary code to access resource files.

During refactoring, only the resource files with correct custom tool property are shown in the list. Since form resource files does not use that custom tool, it is not possible to use them with the resource refactoring tool. You might try adding ResXFileCodeGenerator as the custom tool to the form resource file to see if it works that way. Adding the custom tool property, should not affect how forms access the resource file.