- Install WebAssembly Browser App template via command: dotnet workload install wasm-experimental
- Create a new WebAssembly Browser App via Visual studio.
- Publish the project to folder.

Output is located in bin/Release/net8.0/publish instead of bin/Release/net8.0/browser-wasm/publish
The same setup works for blazorwasm template
Output is located in
bin/Release/net8.0/publishinstead ofbin/Release/net8.0/browser-wasm/publishThe same setup works for blazorwasm template