Workaround file locked issue during build
This commit is contained in:
parent
2ebfddc237
commit
dcbd7a27eb
|
|
@ -10,14 +10,11 @@
|
|||
|
||||
<Import Project="$(MSBuildThisFileDirectory)targets\All.targets" />
|
||||
|
||||
<ItemGroup>
|
||||
<Target Name="BuildBlazorBuildBinary"
|
||||
BeforeTargets="BlazorCompileRazorComponents">
|
||||
<!-- Ensures this project is built before the consuming project, but without
|
||||
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) -->
|
||||
<ProjectReference Include="$(MSBuildThisFileDirectory)Microsoft.AspNetCore.Blazor.Build.csproj">
|
||||
<SetTargetFramework>TargetFramework=netcoreapp2.0</SetTargetFramework>
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<MSBuild Projects="$(MSBuildThisFileDirectory)Microsoft.AspNetCore.Blazor.Build.csproj" />
|
||||
</Target>
|
||||
</Project>
|
||||
|
|
|
|||
Loading…
Reference in New Issue