Reference Microsoft.NET.Sdk.Razor in projects with Razor files (during benchmark builds)

This commit is contained in:
Pranav K 2018-09-26 09:38:23 -07:00
parent 831937c86c
commit 5b8b3a0067
No known key found for this signature in database
GPG Key ID: 1963DA6D96C3057A
2 changed files with 2 additions and 0 deletions

View File

@ -39,5 +39,6 @@
-->
<ItemGroup Condition="'$(BenchmarksTargetFramework)' != ''">
<PackageReference Include="Microsoft.AspNetCore.All" Version="$(MicrosoftAspNetCoreAllPackageVersion)" />
<PackageReference Include="Microsoft.NET.Sdk.Razor" Version="$(MicrosoftAspNetCoreAllPackageVersion)" PrivateAssets="All" />
</ItemGroup>
</Project>

View File

@ -17,6 +17,7 @@
-->
<ItemGroup Condition="'$(BenchmarksTargetFramework)' != ''">
<PackageReference Include="Microsoft.AspNetCore.App" Version="$(MicrosoftNETCoreApp22PackageVersion)" />
<PackageReference Include="Microsoft.NET.Sdk.Razor" Version="$(MicrosoftNETCoreApp22PackageVersion)" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />