From dabecbf7af1fdba36483d2249bb6aa1df597328a Mon Sep 17 00:00:00 2001 From: Warren Buckley Date: Thu, 6 May 2021 18:56:04 +0100 Subject: [PATCH] V9 Netcore: Fix missing launch browser param for dotnet run from template (#10238) * Adds in launchBrowser for Kestrel/Propject profile so running dotnet run from CLI will launch browser * Keep in sync with the template file that will we ship --- build/templates/UmbracoProject/Properties/launchSettings.json | 2 ++ src/Umbraco.Web.UI.NetCore/Properties/launchSettings.json | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/build/templates/UmbracoProject/Properties/launchSettings.json b/build/templates/UmbracoProject/Properties/launchSettings.json index 3819fb7c86..5f9252d553 100644 --- a/build/templates/UmbracoProject/Properties/launchSettings.json +++ b/build/templates/UmbracoProject/Properties/launchSettings.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/launchsettings.json", "iisSettings": { "windowsAuthentication": false, "anonymousAuthentication": true, @@ -17,6 +18,7 @@ }, "Umbraco.Web.UI.NetCore": { "commandName": "Project", + "launchBrowser": true, "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" }, diff --git a/src/Umbraco.Web.UI.NetCore/Properties/launchSettings.json b/src/Umbraco.Web.UI.NetCore/Properties/launchSettings.json index 4edb56f7fa..f4dda49a54 100644 --- a/src/Umbraco.Web.UI.NetCore/Properties/launchSettings.json +++ b/src/Umbraco.Web.UI.NetCore/Properties/launchSettings.json @@ -1,4 +1,5 @@ -{ +{ + "$schema": "https://json.schemastore.org/launchsettings.json", "iisSettings": { "windowsAuthentication": false, "anonymousAuthentication": true, @@ -17,6 +18,7 @@ }, "Umbraco.Web.UI.NetCore": { "commandName": "Project", + "launchBrowser": true, "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" },