Add a property so the web sdk can know that the Razor compiler is available.

This commit is contained in:
Ryan Nowak 2018-01-17 17:05:45 -08:00
parent 49a3b6bcae
commit d1cfc51c9d
1 changed files with 6 additions and 0 deletions

View File

@ -13,6 +13,12 @@
</PropertyGroup>
<PropertyGroup>
<!--
Used by the Web SDK to know if the Razor SDK is present. This needs to live in a nuget package (not in the SDK)
so that it only shows up in supported versions.
-->
<IsRazorCompilerReferenced>true</IsRazorCompilerReferenced>
<!-- Override this to hijack the tasks and targets. Used by tests. -->
<_RazorMSBuildRoot Condition="'$(_RazorMSBuildRoot)'==''">$(MSBuildThisFileDirectory)..\..\</_RazorMSBuildRoot>