title: T4 template for PublicResXFileCodeGenerator
body: <p>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.</p>
  
  <p>My current understanding is that the way to do this is create a custom T4 template, and use it instead of the <code>PublicResXFileCodeGenerator</code>.</p>
  
  <p>I am trying to find a template that does what the <code>PublicResXFileCodeGenerator</code> 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?</p>