From e70484c5e72ce864bc083e2538c390b411559fec Mon Sep 17 00:00:00 2001 From: Jerome Laban Date: Wed, 16 Oct 2024 09:17:43 -0400 Subject: [PATCH] fix: Adjust .user value even when not reloading --- src/Uno.UI.RemoteControl.VS/EntryPoint.ActiveProfileSync.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Uno.UI.RemoteControl.VS/EntryPoint.ActiveProfileSync.cs b/src/Uno.UI.RemoteControl.VS/EntryPoint.ActiveProfileSync.cs index 4e4290281fbf..d3bddfb69340 100644 --- a/src/Uno.UI.RemoteControl.VS/EntryPoint.ActiveProfileSync.cs +++ b/src/Uno.UI.RemoteControl.VS/EntryPoint.ActiveProfileSync.cs @@ -274,6 +274,11 @@ previousTargetFrameworkIdentifier is WasmTargetFrameworkIdentifier } } } + else + { + // No need to reload, but we still need to update the selected target framework + await WriteProjectUserSettingsAsync(newFramework); + } } catch (Exception e) {