[wasm] Add interop code to the browser template (#72172)
authorRadek Doulik <radekdoulik@gmail.com>
Fri, 15 Jul 2022 08:34:41 +0000 (10:34 +0200)
committerGitHub <noreply@github.com>
Fri, 15 Jul 2022 08:34:41 +0000 (10:34 +0200)
commit91dda98cc9d8c25350ce16807a7cbc90b4fc49ab
tree68962c1eca1b21b93a0bcf7a482982b5c3a804ac
parent8f135a28b705c523ecea3aefd8c166adfa6ce2a5
[wasm] Add interop code to the browser template (#72172)

* [wasm] Add interop code to the browser template

* Try to use AnalyzerReference instead of ProjectReference

* Try to make the analyzer reference unconditional

* fix

* no namespace fix

* InstallWorkloadFromArtifacts: Update the targeting pack from the local

.. nugets.

* Wasm.Build.Tests: remove the app.ref fixup from the targets

* workload-testing.targets: Ensure that app.ref nuget is available

Co-authored-by: pavelsavara <pavel.savara@gmail.com>
Co-authored-by: Ankit Jain <radical@gmail.com>
eng/testing/workloads-testing.targets
src/libraries/System.Runtime.InteropServices.JavaScript/src/System.Runtime.InteropServices.JavaScript.csproj
src/mono/wasm/templates/templates/browser/Program.cs
src/mono/wasm/templates/templates/browser/app-support.js
src/mono/wasm/templates/templates/browser/browser.0.csproj
src/mono/wasm/templates/templates/browser/main.js
src/tasks/WorkloadBuildTasks/InstallWorkloadFromArtifacts.cs
src/tests/BuildWasmApps/Wasm.Build.Tests/data/Blazor.Directory.Build.targets
src/tests/BuildWasmApps/Wasm.Build.Tests/data/Blazor.Local.Directory.Build.targets
src/tests/BuildWasmApps/Wasm.Build.Tests/data/Workloads.Directory.Build.targets