I want to do the following: add a switch in my Web.config and whenever it is turned on, any value coming from a .resx file will appear together with the name of the .resx file it came from. This is mainly for debugging purposes.
My current understanding is that the way to do this is create a custom T4 template, and use it instead of the PublicResXFileCodeGenerator
.
I am trying to find a template that does what the PublicResXFileCodeGenerator
does, and then build upon that. Is there such a template somewhere in my installation of Visual Studio? If not, can I find such a template from an official source online?