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" />
|
<Import Project="$(MSBuildThisFileDirectory)targets\All.targets" />
|
||||||
|
|
||||||
<ItemGroup>
|
<Target Name="BuildBlazorBuildBinary"
|
||||||
|
BeforeTargets="BlazorCompileRazorComponents">
|
||||||
<!-- 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) -->
|
||||||
<ProjectReference Include="$(MSBuildThisFileDirectory)Microsoft.AspNetCore.Blazor.Build.csproj">
|
<MSBuild Projects="$(MSBuildThisFileDirectory)Microsoft.AspNetCore.Blazor.Build.csproj" />
|
||||||
<SetTargetFramework>TargetFramework=netcoreapp2.0</SetTargetFramework>
|
</Target>
|
||||||
<PrivateAssets>all</PrivateAssets>
|
|
||||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
|
||||||
</ProjectReference>
|
|
||||||
</ItemGroup>
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue