From d873981cbbbcb2d5e265ec5aee5cddea40c0c582 Mon Sep 17 00:00:00 2001 From: Bill Hiebert Date: Tue, 6 Feb 2024 15:47:53 -0800 Subject: [PATCH] Support string[] launchSettings.json properties --- .../ProjectSystem/Debug/LaunchSettingsJsonEncoding.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Microsoft.VisualStudio.ProjectSystem.Managed/ProjectSystem/Debug/LaunchSettingsJsonEncoding.cs b/src/Microsoft.VisualStudio.ProjectSystem.Managed/ProjectSystem/Debug/LaunchSettingsJsonEncoding.cs index 2cac985a181..7c434d706e7 100644 --- a/src/Microsoft.VisualStudio.ProjectSystem.Managed/ProjectSystem/Debug/LaunchSettingsJsonEncoding.cs +++ b/src/Microsoft.VisualStudio.ProjectSystem.Managed/ProjectSystem/Debug/LaunchSettingsJsonEncoding.cs @@ -307,6 +307,7 @@ LaunchProfile ReadProfile(string name) JsonToken.Boolean => (bool)reader.Value!, JsonToken.Integer => checked((int)(long)reader.Value!), JsonToken.StartObject => (jsonSerializer ??= JsonSerializer.CreateDefault()).Deserialize>(reader), + JsonToken.StartArray => (jsonSerializer ??= JsonSerializer.CreateDefault()).Deserialize(reader), JsonToken.String => (string)reader.Value!, _ => null };