diff --git a/src/mono/sample/wasm/Directory.Build.props b/src/mono/sample/wasm/Directory.Build.props
index 979a6c68e3d16..bafbf3498b32e 100644
--- a/src/mono/sample/wasm/Directory.Build.props
+++ b/src/mono/sample/wasm/Directory.Build.props
@@ -28,6 +28,11 @@
true
+
+
+
+
+
diff --git a/src/mono/sample/wasm/browser-bench/Console/Wasm.Console.Bench.Sample.csproj b/src/mono/sample/wasm/browser-bench/Console/Wasm.Console.Bench.Sample.csproj
index a8d0ac8efddc2..a3d7f114d32fb 100644
--- a/src/mono/sample/wasm/browser-bench/Console/Wasm.Console.Bench.Sample.csproj
+++ b/src/mono/sample/wasm/browser-bench/Console/Wasm.Console.Bench.Sample.csproj
@@ -20,7 +20,5 @@
-
-
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 f16d7a4c1449e..5ff1ff4e04835 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
@@ -14,8 +14,6 @@
-
-
diff --git a/src/mono/sample/wasm/browser/Wasm.Browser.ES6.Sample.csproj b/src/mono/sample/wasm/browser/Wasm.Browser.ES6.Sample.csproj
index 79c75c0181fd4..a8e264e2580d3 100644
--- a/src/mono/sample/wasm/browser/Wasm.Browser.ES6.Sample.csproj
+++ b/src/mono/sample/wasm/browser/Wasm.Browser.ES6.Sample.csproj
@@ -10,8 +10,6 @@
-
-
<_SampleProject>Wasm.Browser.ES6.Sample.csproj