From a47281e6f8e97455c743852d96de83425f031969 Mon Sep 17 00:00:00 2001 From: Bennor McCarthy Date: Tue, 14 Jul 2015 20:58:34 +1000 Subject: [PATCH] Upped version & fixed up README --- AutoT4/Properties/AssemblyInfo.cs | 4 ++-- AutoT4/ReleaseNotes.txt | 9 ++++++++- AutoT4/source.extension.vsixmanifest | 2 +- README.md | 9 +++++++-- 4 files changed, 18 insertions(+), 6 deletions(-) diff --git a/AutoT4/Properties/AssemblyInfo.cs b/AutoT4/Properties/AssemblyInfo.cs index 663546a..935d873 100644 --- a/AutoT4/Properties/AssemblyInfo.cs +++ b/AutoT4/Properties/AssemblyInfo.cs @@ -29,8 +29,8 @@ // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("1.1.0.0")] -[assembly: AssemblyFileVersion("1.1.0.0")] +[assembly: AssemblyVersion("1.2.0.0")] +[assembly: AssemblyFileVersion("1.2.0.0")] diff --git a/AutoT4/ReleaseNotes.txt b/AutoT4/ReleaseNotes.txt index 4ea23e3..1e93e60 100644 --- a/AutoT4/ReleaseNotes.txt +++ b/AutoT4/ReleaseNotes.txt @@ -1,4 +1,11 @@ -Version 1.1.0 +Version 1.2.0 +============= +* Added option to run templates before or after build (or not at all). +* Added AutoT4 section to options dialog so you can choose when to run at a global level. + +Thanks to https://github.com/CosminLazar and https://github.com/malylemire1 for their help on this. + +Version 1.1.0 ============= * Added ability to exclude templates from automatic build via Properties window * Added Visual Studio 2015 support diff --git a/AutoT4/source.extension.vsixmanifest b/AutoT4/source.extension.vsixmanifest index 7a3219e..c823212 100644 --- a/AutoT4/source.extension.vsixmanifest +++ b/AutoT4/source.extension.vsixmanifest @@ -1,7 +1,7 @@  - + AutoT4 A zero-configuration extension for Visual Studio 2012+ which automatically runs your T4 templates at build time. https://github.com/bennor/AutoT4 diff --git a/README.md b/README.md index 6ef8e74..1336209 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,11 @@ This is a Visual Studio 2012+ extension which automatically triggers all T4 temp Just build and install the template using the VSIX file, [grab it from the Visual Studio gallery](http://visualstudiogallery.msdn.microsoft.com/84e6f033-6da3-4641-a058-12feef0a33b9) or **do it the easy way** and use the 'Extension & Updates' manager in Visual Studio 2012+. -# Disabling individual templates +# Configuration -By default, the template will run all of your T4 templates on build. If you want to turn off individual templates, you can do this by setting **Run on build** to `false` in the _Properties window_ for any `.tt` file in your solution. \ No newline at end of file +By default, the extension will run all of your T4 templates on build. If that's what you want, great -- **zero configuration required**. + +If you want to customize the behaviour, you have two options: + +* Change the default behaviour from the _AutoT4_ section of the Visual Studio options dialog. +* Override the default behaviour for a specific template by changing the **Run on build** setting in the _Properties window_ for any `.tt` file in your solution. Whatever you specify here will take precedence over the default in the options dialog (unless you select "Default"). \ No newline at end of file