[wasm][sdk] Decoupling the WebAssembly runtime debug and release versions. (#16028)
commitac80d041e6d463c44389fa722655eb3321a67c30
authorKenneth Pouncey <kjpou@pt.lu>
Mon, 5 Aug 2019 17:03:35 +0000 (5 19:03 +0200)
committerGitHub <noreply@github.com>
Mon, 5 Aug 2019 17:03:35 +0000 (5 19:03 +0200)
tree8e1435ed916e105420c601fa77ef9565ee5abd3e
parent93a6bc31511decdf93357e78fb2a1a14bf7c76c1
[wasm][sdk] Decoupling the WebAssembly runtime debug and release versions. (#16028)

* Update templates

- Add PropertyGroups for Debug and Release to set the DebugSymbols and DebugType by default.

* Allow the selection of the WebAssembly runtime version Debug | Release

- Decouple the reliance on `_DebugSymbolsProduced` to decide which runtime version to publish.
- Add support for <MonoWasmRuntime>Debug | Release</MonoWasmRuntime>
- Add validation target of the property to Mono.WebAssembly.Build.targets.

* Indentation
sdks/wasm/sdk/Mono.WebAssembly.Build/Mono.WebAssembly.Build.targets
sdks/wasm/sdk/Mono.WebAssembly.Build/Mono.WebAssembly.Build.targets.buildschema.json
sdks/wasm/sdk/Templates/templates/DotNet/WasmTemplate.1.csproj