Add possibility of using a resource file in another project...

Topics: User Forum
Nov 13, 2006 at 12:29 PM
In our solution's architecture we have centralized application resource files in a single assembly, because they are published a bit differently (we allow customized cultures on installed sites).

Although your tool looks very nice and easy to use, I can't use it in that context. Could you evaluate the possibility of being able to choose the target resx file by browing through another project in the current opened solution of Visual Studio ?

That would be my only request for now. :)

Thanks !

Nov 13, 2006 at 4:08 PM
Are you using your own custom tool for resource files? If not, it is not possible to access resource entries in the other projects by using code generated from ResXFileCodeGenerator custom tool since generated classes are internal.

Resource Refactoring tool assumes resource files use ResXFileCodeGenerator custom tool and chooses a reference accordingly. That's why it is limited to resource files on the current project only.

Mar 23, 2007 at 12:51 PM
By the way... here is a custom tool that generates public typed resources files,guid,5b69e6d6-86b0-4717-889a-94db78ff04b2.aspx