Building WebAssembly TV Application
This section describes how to build a TV application that has at least one WebAssembly module added.
Building Hello WebAssembly TV Application
In the "Project Explorer" view, right-click the Hello WebAssembly TV application project that you created in Creating "Hello WebAssembly" TV Application and select "Build Project".
Building WebAssembly TV Applications in General
To build a TV application project that includes one or more WebAssembly modules:
Define the build configuration separately for each WebAssembly module in the application.
If you have multiple modules, they do not need to use the same Emscripten SDK or build configuration.
For more information, see Building and Cleaning WebAssembly Modules.
In the "Project Explorer" view, right-click the TV application project and select "Build Project". The TV application project is built.
Build artifacts for each WebAssembly module can be found in the "CurrentBin" directory within the module's project.
When building the project, the C/C++ code indexer can report code errors even though your WebAssembly module code compiles successfully. To fix the issue:
In the "Project Explorer" view, right-click the WebAssembly project and select "Index > Rebuild".
Check that Emscripten directories are included in the WebAssembly module project.
In the "Project Explorer" view, within the WebAssembly module project, expand the "Includes" folder. Make sure that Emscripten's directories are present.