Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo.moya@xamarin.com>2020-01-02 14:11:55 +0300
committerRodrigo Moya <rodrigo@gnome-db.org>2020-01-03 18:52:31 +0300
commit4cca55069c27385aa7350d0fc4df970bfdb77964 (patch)
tree815fcf700ce265f7a057a8182ee68c20e01a0e90 /main
parentbb0a80ff6d4ecc8a7aedbb8e5a656e811e15a377 (diff)
[AspNetCore] Default "launchBrowser" to false
When we set it to false, the field is removed from launchSettings.json, so when reading it back, it needs to default to false if not present to be a correct end user experience. Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1015890
Diffstat (limited to 'main')
-rw-r--r--main/src/addins/MonoDevelop.AspNetCore/MonoDevelop.AspNetCore/AspNetCoreRunConfiguration.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/MonoDevelop.AspNetCore/MonoDevelop.AspNetCore/AspNetCoreRunConfiguration.cs b/main/src/addins/MonoDevelop.AspNetCore/MonoDevelop.AspNetCore/AspNetCoreRunConfiguration.cs
index 247dc9db71..4298218c7b 100644
--- a/main/src/addins/MonoDevelop.AspNetCore/MonoDevelop.AspNetCore/AspNetCoreRunConfiguration.cs
+++ b/main/src/addins/MonoDevelop.AspNetCore/MonoDevelop.AspNetCore/AspNetCoreRunConfiguration.cs
@@ -102,7 +102,7 @@ namespace MonoDevelop.AspNetCore
EnvironmentVariables.Add ("ASPNETCORE_ENVIRONMENT", "Development");
#pragma warning disable CS0618 //disables warnings threw by obsolete methods used in nameof()
if (CurrentProfile.LaunchBrowser == null)
- CurrentProfile.LaunchBrowser = pset.GetValue (nameof (LaunchBrowser), true);
+ CurrentProfile.LaunchBrowser = pset.GetValue (nameof (LaunchBrowser), false);
if (string.IsNullOrEmpty (CurrentProfile.TryGetApplicationUrl ())) {
if (CurrentProfile.OtherSettings == null)