diff --git a/src/mono/wasm/build/WasmApp.targets b/src/mono/wasm/build/WasmApp.targets
index 1fe3c7cddb8c2e..6c43547f2e03a7 100644
--- a/src/mono/wasm/build/WasmApp.targets
+++ b/src/mono/wasm/build/WasmApp.targets
@@ -120,8 +120,9 @@
- $([MSBuild]::NormalizePath($(WasmAppHostDir), 'WasmAppHost'))
- --runtime-config $(_AppBundleDirForRunCommand)/$(AssemblyName).runtimeconfig.json $(WasmHostArguments)
+ $(DOTNET_HOST_PATH)
+ dotnet
+ exec $([MSBuild]::NormalizePath($(WasmAppHostDir), 'WasmAppHost.dll')) --runtime-config $(_AppBundleDirForRunCommand)/$(AssemblyName).runtimeconfig.json $(WasmHostArguments)
$(_AppBundleDirForRunCommand)
diff --git a/src/mono/wasm/debugger/BrowserDebugHost/BrowserDebugHost.csproj b/src/mono/wasm/debugger/BrowserDebugHost/BrowserDebugHost.csproj
index 66d0b287f76559..5bb950ac301d68 100644
--- a/src/mono/wasm/debugger/BrowserDebugHost/BrowserDebugHost.csproj
+++ b/src/mono/wasm/debugger/BrowserDebugHost/BrowserDebugHost.csproj
@@ -4,6 +4,7 @@
$(AspNetCoreAppCurrent)
true
$(NoWarn),CA2007
+ false
diff --git a/src/mono/wasm/host/WasmAppHost.csproj b/src/mono/wasm/host/WasmAppHost.csproj
index ece55d3763c43a..eb563352f198fd 100644
--- a/src/mono/wasm/host/WasmAppHost.csproj
+++ b/src/mono/wasm/host/WasmAppHost.csproj
@@ -5,6 +5,7 @@
true
$(NoWarn),CA2007
enable
+ false