Reputation: 772
I'm looking for a way to make a project build and run as part of the build process in a solution.
Here's what I need:
I can see two ways of solving this.
While those two solutions work, I was hoping it might be possible to do it some easier/simpler way?
Upvotes: 1
Views: 54
Reputation: 1555
It occurs to me that you might solve your problem by using T4 Templates in the generator project (GP
), then include the target .cs
files generated by the templates as links into the other projects (OTP
), and finally add a reference to the GP
on each of the OTP
so that the custom build order gets honored. I hope it makes sense.
Upvotes: 3