ResXFileCodeGenerator file types
-
Is there a way to modify/add to the list of file extensions that ResXFileCodeGenerator recognizes as text files? I'm on a project where the (DB2) queries are all accessed through resource files. I have a visual studio add-on that gives me editor support (color coding, etc) for working with DB2 queries when editing text files with the db2 extension. The problem is that the ResXFileCodeGenerator doesn't recognize these files as being text files, so when I add them to the resource, they get returned as byte arrays. I'm well aware that there are other, better ways to manage these queries, but I have to stay with the design that's already in place. At this point all I want to do is make ResXFileCodeGenerator recognize files with a .db2 extension as text, so the ResourceManager will return them as strings. Thanks.
Grim MCDBA, MCSD, MCP+SB SELECT * FROM users WHERE clue IS NOT NULL (0 row(s) affected)