Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release/6.0.1xx][blazorwasm] Fix publishing project with lazy loaded assembly #22145

Merged
merged 4 commits into from
Oct 19, 2021
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ Copyright (c) .NET Foundation. All rights reserved.
<DisableAutoWasmBuildApp>true</DisableAutoWasmBuildApp>
<DisableAutoWasmPublishApp>true</DisableAutoWasmPublishApp>
<EnableDefaultWasmAssembliesToBundle>false</EnableDefaultWasmAssembliesToBundle>
<WasmNestedPublishAppDependsOn>ComputeFilesToPublish;_GatherWasmFilesToPublish;$(WasmNestedPublishAppDependsOn)</WasmNestedPublishAppDependsOn>
<WasmNestedPublishAppDependsOn>_GatherWasmFilesToPublish;$(WasmNestedPublishAppDependsOn)</WasmNestedPublishAppDependsOn>
<BlazorEnableCompression Condition="$(WasmBuildingForNestedPublish) == 'true'">false</BlazorEnableCompression>
radical marked this conversation as resolved.
Show resolved Hide resolved
<WasmNestedPublishAppPreTarget>ComputeFilesToPublish</WasmNestedPublishAppPreTarget>
radical marked this conversation as resolved.
Show resolved Hide resolved
</PropertyGroup>

<ItemGroup>
Expand All @@ -93,14 +95,14 @@ Copyright (c) .NET Foundation. All rights reserved.
$(StaticWebAssetsPrepareForRunDependsOn)
</StaticWebAssetsPrepareForRunDependsOn>

<ResolvePublishStaticWebAssetsDependsOn>
<ResolvePublishStaticWebAssetsDependsOn Condition="'$(WasmBuildingForNestedPublish)' != 'true'">
$(ResolvePublishStaticWebAssetsDependsOn);
ProcessPublishFilesForBlazor;
ComputeBlazorExtensions;
_AddPublishBlazorBootJsonToStaticWebAssets;
</ResolvePublishStaticWebAssetsDependsOn>

<GenerateStaticWebAssetsPublishManifestDependsOn>
<GenerateStaticWebAssetsPublishManifestDependsOn Condition="'$(WasmBuildingForNestedPublish)' != 'true'">
$(GenerateStaticWebAssetsPublishManifestDependsOn);
GeneratePublishBlazorBootJson;
</GenerateStaticWebAssetsPublishManifestDependsOn>
Expand Down