T4 Code template trigger generation on: other file save / xml change (VS 2010) <p>I have a t4 template, that loops over an xml file in the project and genrate the code.<br> Is it possible to make the T4 to run when a certain file has bee saved, or when I build the project?<br> VS 2010 </p> <p>Thanks</p>