From 5ebb520cadfba4a58475955243777f4cbc470feb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Fi=C5=A1era?= Date: Thu, 8 Jun 2023 13:33:44 +0200 Subject: [PATCH] [browser] Fix fingerprinting of relinked dotnet.js - follow up (#87051) Address comments from #86048 --- ...rosoft.NET.Sdk.WebAssembly.Browser.targets | 28 ++++++-------- .../Blazor/BuildPublishTests.cs | 37 +++++++++++-------- .../wasm/Wasm.Build.Tests/BuildTestBase.cs | 30 ++++++++++----- 3 files changed, 55 insertions(+), 40 deletions(-) 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 fa94361682af8..1bea12bae9285 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 @@ -191,18 +191,22 @@ Copyright (c) .NET Foundation. All rights reserved. - + + + <_WasmRuntimePackVersion>%(ResolvedRuntimePack.NuGetPackageVersion) + + + + + + <_WasmConfigFileCandidates Include="@(StaticWebAsset)" Condition="'%(SourceType)' == 'Discovered'" /> - <_DotNetJsItem Include="@(ReferenceCopyLocalPaths)" Condition="('%(FileName)' == 'dotnet' or '%(FileName)' == 'dotnet.native') and '%(Extension)' == '.js'" /> - - <_DotNetJsBuildVersion>%(_DotNetJsItem.NuGetPackageVersion) - - +