[wasm][sdk] Support for Custom Linker Configuration (#15953)
commit4ed2aadbdf393057155d3079434cbb9b5656c873
authorKenneth Pouncey <kjpou@pt.lu>
Fri, 2 Aug 2019 06:58:50 +0000 (2 08:58 +0200)
committerGitHub <noreply@github.com>
Fri, 2 Aug 2019 06:58:50 +0000 (2 08:58 +0200)
tree26cd668e976d68afa4eb9ea3711e17a2037975af
parent455b051ce525cc1ca48c33cd4e5c6ae7f1a51a9e
[wasm][sdk] Support for Custom Linker Configuration (#15953)

- Provide extra definitions to the linker to ensure the type, methods and/or fields are not eliminated from your application.

* Use a <LinkDescription> item as follows:

```
  <ItemGroup>
    <LinkDescription Include="customlinker.xml" />
  </ItemGroup>
```

This will then be added to the `WasmLinkAssemblies` step.
sdks/wasm/sdk/Mono.WebAssembly.Build/Mono.WebAssembly.Build.targets
sdks/wasm/sdk/Mono.WebAssembly.Build/WasmLinkAssemblies.cs