Fix clean builds

This got out of date with my other changes
This commit is contained in:
Ryan Nowak 2018-03-05 19:42:46 -08:00 committed by Steve Sanderson
parent c0b0679e27
commit adf4674955
1 changed files with 4 additions and 3 deletions

View File

@ -14,12 +14,13 @@
<PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="$(RazorPackageVersion)"/> <PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="$(RazorPackageVersion)"/>
</ItemGroup> </ItemGroup>
<Target Name="BuildBlazorBuildBinary" <Target
BeforeTargets="BlazorCompileRazorComponents"> Name="BuildBlazorBuildBinary"
BeforeTargets="BlazorGenerateDeclaration">
<!-- Ensures this project is built before the consuming project, but without <!-- Ensures this project is built before the consuming project, but without
adding a runtime dependency on the .dll (to be equivalent to a <PackageDependency> adding a runtime dependency on the .dll (to be equivalent to a <PackageDependency>
given that the packed version of this project wouldn't add a .dll reference) --> given that the packed version of this project wouldn't add a .dll reference) -->
<MSBuild Projects="$(MSBuildThisFileDirectory)Microsoft.AspNetCore.Blazor.Build.csproj" /> <MSBuild Projects="$(MSBuildThisFileDirectory)Microsoft.AspNetCore.Blazor.Build.csproj" Targets="Restore;Build" />
</Target> </Target>
<PropertyGroup> <PropertyGroup>