Skip to content

Commit adef495

Browse files
[release/8.0-preview5] [Blazor] Update template to only include inspectUri when using Web assembly (#48523)
* [Blazor] Update template to only include inspectUri when using Web assembly * Missing case --------- Co-authored-by: Javier Calvarro Nelson <[email protected]>
1 parent 736282f commit adef495

File tree

1 file changed

+6
-0
lines changed
  • src/ProjectTemplates/Web.ProjectTemplates/content/Components-CSharp/Properties

1 file changed

+6
-0
lines changed

src/ProjectTemplates/Web.ProjectTemplates/content/Components-CSharp/Properties/launchSettings.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818
"commandName": "Project",
1919
"dotnetRunMessages": true,
2020
"launchBrowser": true,
21+
//#if (UseWebAssembly)
2122
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
23+
//#endif
2224
"applicationUrl": "http://localhost:5000",
2325
"environmentVariables": {
2426
"ASPNETCORE_ENVIRONMENT": "Development"
@@ -30,7 +32,9 @@
3032
"commandName": "Project",
3133
"dotnetRunMessages": true,
3234
"launchBrowser": true,
35+
//#if (UseWebAssembly)
3336
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
37+
//#endif
3438
"applicationUrl": "https://localhost:5001;http://localhost:5000",
3539
"environmentVariables": {
3640
"ASPNETCORE_ENVIRONMENT": "Development"
@@ -40,7 +44,9 @@
4044
"IIS Express": {
4145
"commandName": "IISExpress",
4246
"launchBrowser": true,
47+
//#if (UseWebAssembly)
4348
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
49+
//#endif
4450
"environmentVariables": {
4551
"ASPNETCORE_ENVIRONMENT": "Development"
4652
}

0 commit comments

Comments
 (0)