[wasm] Debugger tests - always use the same sdk on helix, as the one
authorAnkit Jain <radical@gmail.com>
Mon, 11 Apr 2022 22:40:15 +0000 (22:40 +0000)
committerGitHub <noreply@github.com>
Mon, 11 Apr 2022 22:40:15 +0000 (22:40 +0000)
commit96f4dfcd2936f534bfc6b343099b728386fd8005
tree6c5752bbd060cae57a102620225b620649a1f855
parent324b116a9f54e7c244334f1e41882a4049c18765
[wasm] Debugger tests - always use the same sdk on helix, as the one

.. used for building.

This failed when `global.json` specified a preview4 sdk, which was used
to build the tests. But the built tests (including the preview4 testhost) were
send to helix with the preview2 (version set by arcade -
`DotNetCliVersion`), which causes:

```
Testhost process exited with error: It was not possible to find any compatible framework version
The framework 'Microsoft.NETCore.App', version '7.0.0-preview.4.22201.3' (x64) was not found.
  - The following frameworks were found:
      7.0.0-preview.2.22152.2 at [C:\helix\work\correlation\dotnet-cli\shared\Microsoft.NETCore.App]
You can resolve the problem by installing the specified framework and/or SDK.
```
src/libraries/sendtohelix-wasm.targets
src/libraries/sendtohelixhelp.proj