System.Reflection.Assembly.Load(System.IO.File.ReadAllBytes(path))
So this is a work around to not being able to use T4 to reflect or read other files in the project or solution without locking the binaries from this post. The comments imply a memory issue.
The comments talk about a no-unloading downside, would this be garbage collected while you are working?
would it be a memory leak if you T4 generate something using this code, change a file it worked off of or the T4 and then the T4 is re-run?