Skip to content

feat: Compile .wasm.cs and .browserwasm.cs files for WebAssembly#22691

Merged
MartinZikmund merged 5 commits intodev/mazi/wasmcsfrom
copilot/sub-pr-22690
Feb 19, 2026
Merged

feat: Compile .wasm.cs and .browserwasm.cs files for WebAssembly#22691
MartinZikmund merged 5 commits intodev/mazi/wasmcsfrom
copilot/sub-pr-22690

Conversation

Copy link
Contributor

Copilot AI commented Feb 19, 2026

Adds .browserwasm.cs as an alternative file convention for WebAssembly, alongside the existing .wasm.cs. Documents both suffixes and their equivalence.

PR Type:

📚 Documentation content changes

What is the current behavior? 🤔

.wasm.cs files are compiled for both WebAssembly native (net9.0-browserwasm) and WebAssembly Skia, but this was undocumented. There was no alternative suffix available for the same WebAssembly targeting behavior.

What is the new behavior? 🚀

  • .browserwasm.cs is now supported as an equivalent alternative to .wasm.cs
  • Both .wasm.cs and .browserwasm.cs are compiled for WebAssembly native (net9.0-browserwasm) and WebAssembly Skia
  • platform-specific-csharp.md documents both conventions and their equivalence
*.wasm.cs        → WebAssembly native + WebAssembly Skia
*.browserwasm.cs → WebAssembly native + WebAssembly Skia  [equivalent to *.wasm.cs]

PR Checklist ✅

Please check if your PR fulfills the following requirements:

Other information ℹ️


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

…# guide

Co-authored-by: MartinZikmund <1075116+MartinZikmund@users.noreply.github.com>
Copilot AI changed the title [WIP] Add compilation for .wasm.cs and .browserwasm.cs files feat: Compile .wasm.cs and .browserwasm.cs files for WebAssembly Feb 19, 2026
Copilot AI requested a review from MartinZikmund February 19, 2026 17:11
@MartinZikmund
Copy link
Member

@copilot both suffixes are now equivalent (apply to both skia and native) - adjust the doc accordingly

@MartinZikmund MartinZikmund marked this pull request as ready for review February 19, 2026 23:42
Co-authored-by: MartinZikmund <1075116+MartinZikmund@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Feb 19, 2026

@copilot both suffixes are now equivalent (apply to both skia and native) - adjust the doc accordingly

Updated in commit 9f39e70.browserwasm.cs is now documented as equivalent to .wasm.cs, both applying to net9.0-browserwasm and Skia with the WebAssembly runtime identifier.

@MartinZikmund
Copy link
Member

@copilot no, for webassembly native and webassembly skia

…wasm.cs

Co-authored-by: MartinZikmund <1075116+MartinZikmund@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Feb 19, 2026

@copilot no, for webassembly native and webassembly skia

Updated in commit 756ec10 — both entries now use "WebAssembly native" and "WebAssembly Skia" terminology.

@MartinZikmund MartinZikmund merged commit e2cee77 into dev/mazi/wasmcs Feb 19, 2026
6 of 7 checks passed
@MartinZikmund MartinZikmund deleted the copilot/sub-pr-22690 branch February 19, 2026 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments