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

No execution when using ReSharper Build #16

Closed SeriousM closed 8 years ago

SeriousM commented 8 years ago

JetBrains introduced ReSharper Build around 10.2015 which is a replacement for the classic MsBuild procedure. (https://blog.jetbrains.com/dotnet/2015/10/15/introducing-resharper-build/)

Would it be possible to support their build-hook?

bennor commented 8 years ago

AutoT4 is triggered by the events Visual Studio raises for a build. Because ReSharper Build circumvents VS's build process, these events aren't raised. As far as I can tell, they don't raise any of their own, so there's no way to know a build is taking place.

This means there's not really any way I can support it.

It may be possible to write a ReSharper plugin to do the same thing, but their plugin development documentation is a mess and well out of date.