Skip to content

[wasm] Setting WasmBuildNative to false produces no output wasm binary #96863

@silesmo

Description

@silesmo

Description

Adding the following <WasmBuildNative>false</WasmBuildNative> to a property group in csproj and then building a project results in a successful build but no wasm binary is produces.

Related: #96419

@AaronRobinsonMSFT @lewing @yowl @jsturtevant

Reproduction Steps

Add <WasmBuildNative>false</WasmBuildNative> and to Numbers.csproj in example project found below and build.
https://github.com/silesmo/wasm-unmanaged-callers-bug/blob/main/mono-example/Numbers.csproj

Expected behavior

I would expect a non AoT build to be performed and a wasm binary to be outputted.

Actual behavior

Successful build but no wasm binary produced.

Regression?

No response

Known Workarounds

No response

Configuration

No response

Other information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions