You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improve documentation example for WebAssembly in Uno PlatformΒ #21780
In the Uno Platform documentation, the "Quick Start" example for WebAssembly lacks instructions on how to enable Hot Reload when using VS Code.
Suggestion:
Add a note under the βQuick Start β WebAssemblyβ section like:
{
// Use IntelliSense to find out which attributes exist for C# debugging// Use hover for the description of the existing attributes// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md"version": "0.2.0",
"configurations": [
{
"name": "Uno Platform Mobile Debug",
"type": "Uno",
"request": "launch",
// any Uno* task will do, this is simply to satisfy vscode requirement when a launch.json is present"preLaunchTask": "Uno: android | Debug | android-x64"
},
{
// Use IntelliSense to find out which attributes exist for C# debugging// Use hover for the description of the existing attributes// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md"name": "Uno Platform WebAssembly Debug (Chrome)",
"type": "chrome",
"request": "launch",
"url": "http://localhost:5000",
"webRoot": "${workspaceFolder}/UnoApp7",
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
"timeout": 30000,
"preLaunchTask": "build-wasm",
"server": {
"runtimeExecutable": "dotnet",
"program": "run",
"args": ["--no-build","-f","net9.0-browserwasm","--launch-profile", "UnoApp7 (WebAssembly)"],
"outputCapture": "std",
"timeout": 30000,
"cwd": "${workspaceFolder}/UnoApp7"
}
},
{
// Use IntelliSense to find out which attributes exist for C# debugging// Use hover for the description of the existing attributes// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md"name": "Uno Platform WebAssembly Debug (Edge)",
"type": "msedge",
"request": "launch",
"url": "http://localhost:5000",
"webRoot": "${workspaceFolder}/UnoApp7",
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
"timeout": 30000,
"preLaunchTask": "build-wasm",
"server": {
"runtimeExecutable": "dotnet",
"program": "run",
"args": ["--no-build","-f","net9.0-browserwasm","--launch-profile", "UnoApp7 (WebAssembly)"],
"outputCapture": "std",
"timeout": 30000,
"cwd": "${workspaceFolder}/UnoApp7"
}
},
{
// Use IntelliSense to find out which attributes exist for C# debugging// Use hover for the description of the existing attributes// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md"name": "Uno Platform Desktop Debug",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build-desktop",
// If you have changed target frameworks, make sure to update the program path."program": "${workspaceFolder}/UnoApp7/bin/Debug/net9.0-desktop/UnoApp7.dll",
"args": [],
"launchSettingsProfile": "UnoApp7 (Desktop)",
"env": {
"DOTNET_MODIFIABLE_ASSEMBLIES": "debug"
},
"cwd": "${workspaceFolder}/UnoApp7",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console"console": "internalConsole",
"stopAtEntry": false
},
]
}
Thanks for the PR. dotnet watch is not supposed to be the way to fix this issue, because the uno extension does the hot reload. Could you explain what's not working when you're trying to run the app with Ctrl+F5 or F5 and hotreload does not happen?
Validation update (2026-03-05): I reviewed this on branch fix/algolia-docsearch-duplicates-and-layout (PR #22789). This issue still persists / is not resolved by the current branch changes. Tracking and consolidation: #22788.
Correction to previous validation comment: After deeper review, this issue appears resolved. The hot reload docs at doc/articles/features/working-with-xaml-hot-reload.md now include VS Code columns in feature tables with WebAssembly rows (lines 102, 148, 200, 251, 275, 286-296). Tracking: #22788.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests.
Activity
DevTKSS commentedon Nov 10, 2025
π€ none of our
.vscode/launch.jsonelements does use dotnet watch, is this working and recommended?and I think you meant this page maybe: https://platform.uno/docs/articles/create-an-app-vscode.html?tabs=Wasm
this would at least be the page of Getting started about vs code and Wasm target.
{ // Use IntelliSense to find out which attributes exist for C# debugging // Use hover for the description of the existing attributes // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md "version": "0.2.0", "configurations": [ { "name": "Uno Platform Mobile Debug", "type": "Uno", "request": "launch", // any Uno* task will do, this is simply to satisfy vscode requirement when a launch.json is present "preLaunchTask": "Uno: android | Debug | android-x64" }, { // Use IntelliSense to find out which attributes exist for C# debugging // Use hover for the description of the existing attributes // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md "name": "Uno Platform WebAssembly Debug (Chrome)", "type": "chrome", "request": "launch", "url": "http://localhost:5000", "webRoot": "${workspaceFolder}/UnoApp7", "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", "timeout": 30000, "preLaunchTask": "build-wasm", "server": { "runtimeExecutable": "dotnet", "program": "run", "args": ["--no-build","-f","net9.0-browserwasm","--launch-profile", "UnoApp7 (WebAssembly)"], "outputCapture": "std", "timeout": 30000, "cwd": "${workspaceFolder}/UnoApp7" } }, { // Use IntelliSense to find out which attributes exist for C# debugging // Use hover for the description of the existing attributes // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md "name": "Uno Platform WebAssembly Debug (Edge)", "type": "msedge", "request": "launch", "url": "http://localhost:5000", "webRoot": "${workspaceFolder}/UnoApp7", "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", "timeout": 30000, "preLaunchTask": "build-wasm", "server": { "runtimeExecutable": "dotnet", "program": "run", "args": ["--no-build","-f","net9.0-browserwasm","--launch-profile", "UnoApp7 (WebAssembly)"], "outputCapture": "std", "timeout": 30000, "cwd": "${workspaceFolder}/UnoApp7" } }, { // Use IntelliSense to find out which attributes exist for C# debugging // Use hover for the description of the existing attributes // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md "name": "Uno Platform Desktop Debug", "type": "coreclr", "request": "launch", "preLaunchTask": "build-desktop", // If you have changed target frameworks, make sure to update the program path. "program": "${workspaceFolder}/UnoApp7/bin/Debug/net9.0-desktop/UnoApp7.dll", "args": [], "launchSettingsProfile": "UnoApp7 (Desktop)", "env": { "DOTNET_MODIFIABLE_ASSEMBLIES": "debug" }, "cwd": "${workspaceFolder}/UnoApp7", // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console "console": "internalConsole", "stopAtEntry": false }, ] }and the
tasks.jsonalso not:{ "version": "2.0.0", "tasks": [ { "label": "build-wasm", "command": "dotnet", "type": "process", "args": [ "build", "${workspaceFolder}/UnoApp7/UnoApp7.csproj", "/property:GenerateFullPaths=true", "/property:TargetFramework=net9.0-browserwasm", "/consoleloggerparameters:NoSummary" ], "problemMatcher": "$msCompile" }, { "label": "publish-wasm", "command": "dotnet", "type": "process", "args": [ "publish", "${workspaceFolder}/UnoApp7/UnoApp7.csproj", "/property:GenerateFullPaths=true", "/property:TargetFramework=net9.0-browserwasm", "/consoleloggerparameters:NoSummary" ], "problemMatcher": "$msCompile" }, { "label": "build-desktop", "command": "dotnet", "type": "process", "args": [ "build", "${workspaceFolder}/UnoApp7/UnoApp7.csproj", "/property:GenerateFullPaths=true", "/property:TargetFramework=net9.0-desktop", "/consoleloggerparameters:NoSummary" ], "problemMatcher": "$msCompile" }, { "label": "publish-desktop", "command": "dotnet", "type": "process", "args": [ "publish", "${workspaceFolder}/UnoApp7/UnoApp7.csproj", "/property:GenerateFullPaths=true", "/property:TargetFramework=net9.0-desktop", "/consoleloggerparameters:NoSummary" ], "problemMatcher": "$msCompile" } ] }jeromelaban commentedon Nov 25, 2025
Thanks for the PR. dotnet watch is not supposed to be the way to fix this issue, because the uno extension does the hot reload. Could you explain what's not working when you're trying to run the app with Ctrl+F5 or F5 and hotreload does not happen?
/cc @dr1rrb
Jen-Uno commentedon Mar 6, 2026
Validation update (2026-03-05): I reviewed this on branch fix/algolia-docsearch-duplicates-and-layout (PR #22789). This issue still persists / is not resolved by the current branch changes. Tracking and consolidation: #22788.
Jen-Uno commentedon Mar 6, 2026
Correction to previous validation comment: After deeper review, this issue appears resolved. The hot reload docs at
doc/articles/features/working-with-xaml-hot-reload.mdnow include VS Code columns in feature tables with WebAssembly rows (lines 102, 148, 200, 251, 275, 286-296). Tracking: #22788.Jen-Uno commentedon Mar 6, 2026
Closing: validation confirms WebAssembly Hot Reload instructions for VS Code are now documented. Related to #22788.
github-actions commentedon Apr 30, 2026
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests.