bennor / AutoT4

A zero-configuration extension for Visual Studio 2012+ which automatically runs your T4 templates at build time.
MIT License
11 stars 14 forks source link

2 questions #20

Open mwoffenden opened 7 years ago

mwoffenden commented 7 years ago
  1. Does this work on VS2017?
  2. Can I use this to do ALL of the following? a) Run all T4 templates ONLY on demand (from the VS toolbar button "transform" all t4 templates, and NOT concurrent with a build) b) AND excluding 1 particular template?
bennor commented 7 years ago
  1. Yes.
  2. a) There's no on demand setting. There's before or after build. b) Yes, but only if you're not using the new csproj format for your projects (e.g. Core or NETStandard projects). The method for adding the required options to the properties dialog for the templates doesn't work in these projects, and I haven't been able to find out why. I am fairly sure it's because the new project type has a different "CatID", but I haven't been able to find out what it is.