diff --git a/src/mono/browser/build/WasmApp.InTree.props b/src/mono/browser/build/WasmApp.InTree.props
index 951aeca06948e..35de73ac97308 100644
--- a/src/mono/browser/build/WasmApp.InTree.props
+++ b/src/mono/browser/build/WasmApp.InTree.props
@@ -5,7 +5,7 @@
$([MSBuild]::NormalizeDirectory($(MonoProjectRoot), 'wasm', 'build'))
-
+
true
AnyCPU
diff --git a/src/mono/browser/build/WasmApp.InTree.targets b/src/mono/browser/build/WasmApp.InTree.targets
index e4d1475c81f2c..885a3fba37ea8 100644
--- a/src/mono/browser/build/WasmApp.InTree.targets
+++ b/src/mono/browser/build/WasmApp.InTree.targets
@@ -6,7 +6,8 @@
-
+
+
diff --git a/src/mono/sample/wasm/Directory.Build.targets b/src/mono/sample/wasm/Directory.Build.targets
index 2bc82f4fce0d3..8982f866eefe2 100644
--- a/src/mono/sample/wasm/Directory.Build.targets
+++ b/src/mono/sample/wasm/Directory.Build.targets
@@ -38,14 +38,19 @@
<_ScriptExt Condition="'$(OS)' == 'Windows_NT'">.cmd
<_ScriptExt Condition="'$(OS)' != 'Windows_NT'">.sh
<_Dotnet>$(RepoRoot)dotnet$(_ScriptExt)
- <_AOTFlag Condition="'$(RunAOTCompilation)' != ''">/p:RunAOTCompilation=$(RunAOTCompilation)
- <_HybridGlobalizationFlag Condition="'$(HybridGlobalization)' != ''">/p:HybridGlobalization=$(HybridGlobalization)
- <_WasmEnableThreadsFlag Condition="'$(WasmEnableThreads)' != ''">/p:WasmEnableThreads=$(WasmEnableThreads)
<_SampleProject Condition="'$(_SampleProject)' == ''">$(MSBuildProjectFile)
<_SampleAssembly Condition="'$(_SampleAssembly)' == ''">$(TargetFileName)
- $(BuildAdditionalArgs) /p:MonoDiagnosticsMock=$(MonoDiagnosticsMock)
-
+
+
+
+
+
+
+
+
+
+
diff --git a/src/mono/sample/wasm/browser-bench/Wasm.Browser.Bench.Sample.csproj b/src/mono/sample/wasm/browser-bench/Wasm.Browser.Bench.Sample.csproj
index 679ca812e0f42..35f13d2b03c09 100644
--- a/src/mono/sample/wasm/browser-bench/Wasm.Browser.Bench.Sample.csproj
+++ b/src/mono/sample/wasm/browser-bench/Wasm.Browser.Bench.Sample.csproj
@@ -8,8 +8,33 @@
$(EnableAOTAndTrimming)
$(EnableAOTAndTrimming)
$(EnableAOTAndTrimming)
+ ./
+
+
+ true
+ $(MSBuildThisFileDirectory)/bin/$(Configuration)/AppBundle
+ none
+ $(RestoreAdditionalProjectSources);https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-experimental/nuget/v3/index.json
+ false
+ false
+ true
+ true
+ <_ExeExt Condition="$([MSBuild]::IsOSPlatform('WINDOWS'))">.exe
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/mono/sample/wasm/browser-bench/appstart-frame.html b/src/mono/sample/wasm/browser-bench/appstart-frame.html
index 481ffa4e27301..e7d6d03a08f6b 100644
--- a/src/mono/sample/wasm/browser-bench/appstart-frame.html
+++ b/src/mono/sample/wasm/browser-bench/appstart-frame.html
@@ -8,10 +8,10 @@
-
-
-
-
+
+
+
+
diff --git a/src/mono/sample/wasm/browser-bench/frame-main.js b/src/mono/sample/wasm/browser-bench/frame-main.js
index 23f76c03dda5a..14b56fbcb02ec 100644
--- a/src/mono/sample/wasm/browser-bench/frame-main.js
+++ b/src/mono/sample/wasm/browser-bench/frame-main.js
@@ -3,7 +3,7 @@
"use strict";
-import { dotnet, exit } from './_framework/dotnet.js'
+import { dotnet, exit } from './dotnet.js'
class FrameApp {
async init({ getAssemblyExports }) {
diff --git a/src/mono/sample/wasm/browser-bench/main.js b/src/mono/sample/wasm/browser-bench/main.js
index 71e4a677ddcc7..595dc55e0471e 100644
--- a/src/mono/sample/wasm/browser-bench/main.js
+++ b/src/mono/sample/wasm/browser-bench/main.js
@@ -3,7 +3,7 @@
"use strict";
-import { dotnet, exit } from './_framework/dotnet.js'
+import { dotnet, exit } from './dotnet.js'
let runBenchmark;
let setTasks;