Fix running WebAssembly Browser App from VS (#75384)
authorThays Grazia <thaystg@gmail.com>
Wed, 14 Sep 2022 15:26:13 +0000 (12:26 -0300)
committerGitHub <noreply@github.com>
Wed, 14 Sep 2022 15:26:13 +0000 (10:26 -0500)
commitb55b25682ed0217bb6dadb9eb6651a2234de18dc
tree1bfe295594ea39b99e8f8a51453489f2a5b10255
parent59d00656ebd2ac9e32e8f07d08a675d36b296de8
Fix running WebAssembly Browser App from VS (#75384)

* trying to fix 75356

* Trying to fix for running from VS and from command line

* Remove unused spaces

* Fix again

* Addressing @radical comments

* OutputPath can be missing the rid during the evaluation

* more cleanup

* Replacing NormalizeDirectory with  [System.IO.Path]::Combine

* [wasm] Add tests for running templates outside project directory

* Add tests for browser template

* Disable failing test

.. which is failing because the WBT is still using net7.0 on `main`,
thus using the 7.0 targets, which don't have the fix yet.

We can enable this once the fix is merged for 7.0 .

Co-authored-by: Ankit Jain <radical@gmail.com>
src/mono/wasm/Wasm.Build.Tests/WasmTemplateTests.cs
src/mono/wasm/build/WasmApp.targets