From 0c60ccee62a9890f046df5796f9be5305e301a2f Mon Sep 17 00:00:00 2001 From: Steve Sanderson Date: Sun, 5 Nov 2017 18:47:50 -0800 Subject: [PATCH] Disable launching in IIS, since it appears to be broken on VS15.5 (though works on 15.4) --- template/MyApplication/Properties/launchSettings.json | 9 +++++++-- template/MyApplication/Properties/sw-launchSettings.json | 5 +++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/template/MyApplication/Properties/launchSettings.json b/template/MyApplication/Properties/launchSettings.json index 52643dcc..8267bc77 100644 --- a/template/MyApplication/Properties/launchSettings.json +++ b/template/MyApplication/Properties/launchSettings.json @@ -8,14 +8,19 @@ } }, "profiles": { + /* + If you're on VS 15.4 or earlier, you can enable the following. + For some reason, it doesn't work on VS 15.5 (not even if you replace LAUNCHER_PATH with an absolute path) "IIS Express": { "commandName": "IISExpress", "launchBrowser": true, "environmentVariables": { - "LAUNCHER_ARGS": "blazor serve", - "LAUNCHER_PATH": "dotnet" + "LAUNCHER_PATH": "dotnet", + "LAUNCHER_ARGS": "blazor serve" } }, + */ + "MyApplication": { "commandName": "Executable", // If your dotnet executable is at a different location, or you're using Mac/Linux, diff --git a/template/MyApplication/Properties/sw-launchSettings.json b/template/MyApplication/Properties/sw-launchSettings.json index 6cc34526..713734f7 100644 --- a/template/MyApplication/Properties/sw-launchSettings.json +++ b/template/MyApplication/Properties/sw-launchSettings.json @@ -1,5 +1,8 @@ { "profiles": { + /* + If you're on VS 15.4 or earlier, you can enable the following. + For some reason, it doesn't work on VS 15.5 (not even if you replace LAUNCHER_PATH with an absolute path) "IIS Express": { "commandName": "IISExpress", "launchBrowser": true, @@ -8,6 +11,8 @@ "LAUNCHER_ARGS": "blazor serve" } }, + */ + "MyApplication": { "commandName": "Executable", // If your dotnet executable is at a different location, or you're using Mac/Linux,