Add hook for precompilation

This commit is contained in:
Ryan Nowak 2018-01-12 21:17:17 -08:00
parent 14cea3c1b9
commit d1984aa44b
1 changed files with 12 additions and 0 deletions

View File

@ -1,4 +1,11 @@
<Project>
<!--
This is a hook to import a set of targets before the Razor targets. By default this is used by MvcPrecompilation
so that we can interop between the 2.0 feature set and the 2.1+ features.
-->
<Import Project="$(CustomBeforeRazorSdkTargets)" Condition="'$(CustomBeforeRazorSdkTargets)' != '' and Exists('$(CustomBeforeRazorSdkTargets)')"/>
<!--
Targets supporting Razor MSBuild integration
-->
@ -325,4 +332,9 @@
</Target>
<!--
This is a hook to import a set of targets after the Razor targets. By default this is unused.
-->
<Import Project="$(CustomAfterRazorSdkTargets)" Condition="'$(CustomAfterRazorSdkTargets)' != '' and Exists('$(CustomAfterRazorSdkTargets)')"/>
</Project>