diff --git a/src/mono/nuget/Microsoft.NET.Sdk.WebAssembly.Pack/build/Microsoft.NET.Sdk.WebAssembly.Browser.targets b/src/mono/nuget/Microsoft.NET.Sdk.WebAssembly.Pack/build/Microsoft.NET.Sdk.WebAssembly.Browser.targets index ab8d6606aba35e..d586a4d6c80452 100644 --- a/src/mono/nuget/Microsoft.NET.Sdk.WebAssembly.Pack/build/Microsoft.NET.Sdk.WebAssembly.Browser.targets +++ b/src/mono/nuget/Microsoft.NET.Sdk.WebAssembly.Pack/build/Microsoft.NET.Sdk.WebAssembly.Browser.targets @@ -708,7 +708,7 @@ Copyright (c) .NET Foundation. All rights reserved. DependsOnTargets="_WriteWasmBootJsonBuildPropertyStamp" Condition="'$(WasmBuildingForNestedPublish)' != 'true'" Inputs="@(IntermediateAssembly);@(WasmStaticWebAsset);@(_WasmJsModuleCandidatesForBuild);@(_WasmFilesToIncludeInFileSystemStaticWebAsset);@(_WasmJsConfigStaticWebAsset);@(_WasmDotnetJsForBuild);@(WasmBootConfigExtension);$(ProjectRuntimeConfigFilePath);$(MSBuildProjectFullPath);$(MSBuildThisFileFullPath);$(_WebAssemblySdkTasksAssembly);$(IntermediateOutputPath)wasm-bootjson-build.stamp" - Outputs="$(_WasmBuildBootJsonPath)"> + Outputs="$(IntermediateOutputPath)wasm-bootjson-build.complete.stamp"> + - - + + + + <_WasmBuildBootConfigCandidate Include="$(_WasmBuildBootJsonPath)" RelativePath="_framework/$(_WasmBootConfigFileName)" /> @@ -1084,6 +1097,8 @@ Copyright (c) .NET Foundation. All rights reserved. + + <_WasmPublishBootConfigCandidate Include="$([MSBuild]::NormalizePath($(IntermediateOutputPath), $(_WasmPublishBootConfigFileName)))" RelativePath="_framework/$(_WasmBootConfigFileName)" /> @@ -1180,7 +1195,7 @@ Copyright (c) .NET Foundation. All rights reserved. + Outputs="$(IntermediateOutputPath)wasm-bootjson-publish.complete.stamp"> + - - + +