diff --git a/src/libraries/sendtohelix-wasm.targets b/src/libraries/sendtohelix-wasm.targets
index fcdcdad18e301c..12edd38bd05759 100644
--- a/src/libraries/sendtohelix-wasm.targets
+++ b/src/libraries/sendtohelix-wasm.targets
@@ -38,14 +38,12 @@
$(BuildHelixWorkItemsDependsOn);StageEmSdkForHelix;PrepareForBuildHelixWorkItems_Wasm
- $(BuildHelixWorkItemsDependsOn);DownloadFirefoxToSendToHelix
false
false
$(RepoRoot)src\mono\wasm\emsdk\
$([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'src', 'mono', 'wasm', 'emsdk'))
- $(TestArchiveRoot)firefox.zip
chrome
true
@@ -159,17 +157,18 @@
-
-
+
-
-
+
@@ -291,11 +290,4 @@
DestinationFiles="@(_EmSdkFiles -> '$(EmSdkDirForHelixPayload)\%(RecursiveDir)%(FileName)%(Extension)')"
SkipUnchangedFiles="true" />
-
-
-
-
-
-
-
diff --git a/src/libraries/sendtohelix.proj b/src/libraries/sendtohelix.proj
index 60de339e34023a..6aca13e92bc10b 100644
--- a/src/libraries/sendtohelix.proj
+++ b/src/libraries/sendtohelix.proj
@@ -48,6 +48,7 @@
HelixTargetQueues=$(HelixTargetQueues);
BuildTargetFramework=$(BuildTargetFramework)
+ <_DebuggerHosts Condition="'$(_DebuggerHosts)' == ''">$(DebuggerHost)
<_DebuggerHosts Condition="'$(_DebuggerHosts)' == ''">chrome
diff --git a/src/mono/sample/wasm/CommonAssemblyInfo.cs b/src/mono/sample/wasm/CommonAssemblyInfo.cs
new file mode 100644
index 00000000000000..9ad9b578f20649
--- /dev/null
+++ b/src/mono/sample/wasm/CommonAssemblyInfo.cs
@@ -0,0 +1,4 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+
+[assembly:System.Runtime.Versioning.SupportedOSPlatform("browser")]
diff --git a/src/mono/sample/wasm/Directory.Build.props b/src/mono/sample/wasm/Directory.Build.props
index 7382a6e5ce8f07..d03dbcf021398d 100644
--- a/src/mono/sample/wasm/Directory.Build.props
+++ b/src/mono/sample/wasm/Directory.Build.props
@@ -32,6 +32,8 @@
+
+
diff --git a/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs b/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs
index 5e87669e4cf68a..e1c5207659835e 100644
--- a/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs
+++ b/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs
@@ -463,7 +463,7 @@ private static string GetNuGetConfigWithLocalPackagesPath(string templatePath, s
return contents.Replace(s_nugetInsertionTag, $@"");
}
- public string CreateWasmTemplateProject(string id, string template = "wasmbrowser", string extraArgs = "")
+ public string CreateWasmTemplateProject(string id, string template = "wasmbrowser", string extraArgs = "", bool runAnalyzers = true)
{
InitPaths(id);
InitProjectDir(_projectDir, addNuGetSourceForLocalPackages: true);
@@ -483,7 +483,10 @@ public string CreateWasmTemplateProject(string id, string template = "wasmbrowse
.ExecuteWithCapturedOutput($"new {template} {extraArgs}")
.EnsureSuccessful();
- return Path.Combine(_projectDir!, $"{id}.csproj");
+ string projectfile = Path.Combine(_projectDir!, $"{id}.csproj");
+ if (runAnalyzers)
+ AddItemsPropertiesToProject("true");
+ return projectfile;
}
public string CreateBlazorWasmTemplateProject(string id)
diff --git a/src/mono/wasm/build/WasmApp.targets b/src/mono/wasm/build/WasmApp.targets
index 5cb9d26781b47f..a2031cab5457f2 100644
--- a/src/mono/wasm/build/WasmApp.targets
+++ b/src/mono/wasm/build/WasmApp.targets
@@ -120,6 +120,9 @@
+
+
+
diff --git a/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestSuite.csproj b/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestSuite.csproj
index 68dd92779b0ead..d74faaeb66e2cb 100644
--- a/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestSuite.csproj
+++ b/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestSuite.csproj
@@ -7,8 +7,9 @@
chrome
$(DefineConstants);RUN_IN_CHROME
windows
- true
- true
+ <_ProvisionBrowser Condition="'$(ContinuousIntegrationBuild)' == 'true' or Exists('/.dockerenv')">true
+ true
+ true
$(OutputPath).runsettings
diff --git a/src/mono/wasm/debugger/Wasm.Debugger.Tests/Wasm.Debugger.Tests.csproj b/src/mono/wasm/debugger/Wasm.Debugger.Tests/Wasm.Debugger.Tests.csproj
index 2dd8ac14f2bfcb..66490809749c87 100644
--- a/src/mono/wasm/debugger/Wasm.Debugger.Tests/Wasm.Debugger.Tests.csproj
+++ b/src/mono/wasm/debugger/Wasm.Debugger.Tests/Wasm.Debugger.Tests.csproj
@@ -37,6 +37,7 @@
ArchiveDirForHelix=$(TargetDir);
TestArchiveTestsDir=$(TestArchiveTestsDir);
ExtractTestClassNamesForHelix=$(ExtractTestClassNamesForHelix);
+ DebuggerHost=$(DebuggerHost);
DotNetForTests=$([MSBuild]::NormalizePath($(DotNetRoot), $(DotNetTool)))" />
diff --git a/src/mono/wasm/templates/templates/browser/Properties/AssemblyInfo.cs b/src/mono/wasm/templates/templates/browser/Properties/AssemblyInfo.cs
new file mode 100644
index 00000000000000..9ad9b578f20649
--- /dev/null
+++ b/src/mono/wasm/templates/templates/browser/Properties/AssemblyInfo.cs
@@ -0,0 +1,4 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+
+[assembly:System.Runtime.Versioning.SupportedOSPlatform("browser")]
diff --git a/src/mono/wasm/templates/templates/console/Properties/AssemblyInfo.cs b/src/mono/wasm/templates/templates/console/Properties/AssemblyInfo.cs
new file mode 100644
index 00000000000000..9ad9b578f20649
--- /dev/null
+++ b/src/mono/wasm/templates/templates/console/Properties/AssemblyInfo.cs
@@ -0,0 +1,4 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+
+[assembly:System.Runtime.Versioning.SupportedOSPlatform("browser")]