Product: PowerShell Universal Desktop
Version: 4.2.2
Powershell Universal Desktop does not start after updating from version 4.0.2
to either 4.2.1
or 4.2.2
.
I just get the splash screen indefinitely.
Below is from %AppData%\PowerShellUniversal\systemLog20231121.txt
2023-11-21 08:59:28.999 +00:00 [FTL] Fatal error starting PowerShell Universal.
System.InvalidCastException: Unable to cast object of type 'PowerShellUniversal.ModifierKeys' to type 'System.Int32'.
at PowerShellUniversal.Extensibility.ResourceFeature`1.AddField[TProp](Expression`1 expression, ResourceField options) in C:\actions-runner\_work\universal\universal\src\PowerShellUniversal.Extensibility\Interfaces\ResourceFeature.cs:line 64
at PowerShellUniversal.Desktop.Server.HotKeyResource..ctor() in C:\actions-runner\_work\universal\universal\src\Plugins\PowerShellUniversal.Desktop.Server\Resources\HotKeyResource.cs:line 19
at PowerShellUniversal.Desktop.Server.Plugin.get_Features() in C:\actions-runner\_work\universal\universal\src\Plugins\PowerShellUniversal.Desktop.Server\Plugin.cs:line 12
at PowerShellUniversal.PluginService.<>c__6`1.<GetFeatures>b__6_0(IPlugin m) in C:\actions-runner\_work\universal\universal\src\Universal.Server\Services\PluginService.cs:line 30
at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext()
at Universal.Server.Startup.ConfigureServices(IServiceCollection services) in C:\actions-runner\_work\universal\universal\src\Universal.Server\Startup.cs:line 252
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.InvokeCore(Object instance, IServiceCollection services)
at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.UseStartup(Type startupType, HostBuilderContext context, IServiceCollection services, Object instance)
at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass14_0.<UseStartup>b__0(HostBuilderContext context, IServiceCollection services)
at Microsoft.Extensions.Hosting.HostBuilder.InitializeServiceProvider()
at Microsoft.Extensions.Hosting.HostBuilder.Build()
at Universal.Server.Program.<>c__DisplayClass3_0.<Main>b__0(Options o) in C:\actions-runner\_work\universal\universal\src\Universal.Server\Program.cs:line 79