Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

T4 Templates - Overwrites Previous Content

$
0
0

Is there a way to stop code generation and retain the previous output?  Something like Stop and Revert?  I've looked, and perhaps it is buried in there somewhere, but I don't see anything obvious.

Say I'm generating some enums from the DB, I'm working offline and can't connect to the DB, it will overwrite the pre-existing code.  Thus preventing the project from compiling, not the desired result in that scenario.


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>