Apply suggestions from code review
Co-Authored-By: Steve Sanderson <SteveSandersonMS@users.noreply.github.com>
This commit is contained in:
parent
a127eb86da
commit
1b2cb0b93c
|
|
@ -275,8 +275,9 @@
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<!--
|
<!--
|
||||||
Workaround for https://github.com/dotnet/aspnetcore/issues/19926. Add _BlazorResolvedAssembly to FileWrites so it doesn't
|
Workaround for https://github.com/dotnet/aspnetcore/issues/19926. Add _BlazorResolvedAssembly to FileWrites so that these files
|
||||||
get removed during build incremantalism. We cannot do this in _ResolveBlazorRuntimeDependencies since it's incremental.
|
do not get removed during an incremental build. Note that we add these files here as opposed to _ResolveBlazorRuntimeDependencies
|
||||||
|
since the task that calculates these items in _ResolveBlazorRuntimeDependencies does not execute in incremental builds.
|
||||||
-->
|
-->
|
||||||
<FileWrites Include="$(_BlazorResolvedAssembly)"/>
|
<FileWrites Include="$(_BlazorResolvedAssembly)"/>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
@ -303,9 +304,9 @@
|
||||||
</ResolveBlazorRuntimeDependencies>
|
</ResolveBlazorRuntimeDependencies>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Workaround for https://github.com/dotnet/aspnetcore/issues/19926. Using the files from their inital locations
|
Workaround for https://github.com/dotnet/aspnetcore/issues/19926. Using the files from their initial locations
|
||||||
as-is causes RazorSDK to remove files from a hosted app's publish directory. This is because files being removed
|
as-is causes RazorSDK to remove files from a hosted app's publish directory. This is because files being removed
|
||||||
are looked up by their path. We'll copy files to an intermediate location to trip the removal code.
|
are looked up by their path. We'll copy files to an intermediate location to avoid the removal code.
|
||||||
-->
|
-->
|
||||||
<Copy
|
<Copy
|
||||||
SourceFiles="@(_BlazorResolvedAssemblyUnlinked)"
|
SourceFiles="@(_BlazorResolvedAssemblyUnlinked)"
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,6 @@
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\standalone\standalone.csproj" />
|
<ProjectReference Include="..\standalone\standalone.csproj" />
|
||||||
<ProjectReference Include="..\razorclasslibrary\RazorClassLibrary.csproj" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue