Generated T4 Files Not Added to Project from Visual Studio Extension
<p>I am trying to generate code scaffolding for an in-house API.  I created a T4 template which includes several other templates for each code file to be generated. I then wrote a Visual Studio Extension (VSIX) with a WPF form to capture user input and initiate the transforming of the T4 template. I am doing all of this in Visual Studio Professional 2013.</p>

<p>This is what I followed to Invoke the Text Transformation in a VS Extension
<a href="https://msdn.microsoft.com/en-us/library/gg586947%28v=vs.120%29.aspx?f=255&amp;MSPPError=-2147217396" rel="nofollow">https://msdn.microsoft.com/en-us/library/gg586947%28v=vs.120%29.aspx?f=255&amp;MSPPError=-2147217396</a></p>

<p>When testing the templates locally using Run custom tool, everything works perfectly.  However, when testing the VS extension in an Experimental Instance of Visual Studio, the problem I am having is that after the transformation has been invoked [calling ITextTemplating.ProcessTemplate], the generated files are not placed into my open project.  I verified that they exist in their appropriate folders in File Explorer.</p>

<p>I have searched high &amp; low and can't find anything that talks about this.  Any ideas?</p>