Recently I had to switch to Studio 2022 for developing my plugins.
While previously under Studio 2021 it was possible to debug my plugin directly live in Studio this doesn't seem possible anymore in Studio 2022 SR1 - 17.1.8.17828.
When I start debugging I get an Error after "Loading Plugins" and before the usual "Unsigned Plug-in found" saying "An unexpected error has occurred while loading the application plug-ins." (see error details file below).
I don't think it is a problem with the actual plugins - they get loaded otherwise just fine. I haven't change anything in the VS project settings (except the path to Studio obviously).
Am I doing something wrong or is this the way it is with 2022?
<SDLErrorDetails time="05.11.2023 19:07:33"> <ErrorMessage>An unexpected error has occurred while loading the application plug-ins.</ErrorMessage> <Exception> <Type>System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type> <HelpLink /> <Source>System.Windows.Forms</Source> <HResult>-2146233079</HResult> <StackTrace><![CDATA[ at System.Windows.Forms.Control.get_Handle() at Sdl.Platform.UI.Dialogs.DisplayWindow.SetOwner() at Sdl.Platform.UI.Dialogs.DisplayWindow.<Sdl.Platform.Interfaces.UI.IWindow.ShowDialog>b__1_0() at Sdl.Platform.UI.Extensions.DispatcherExtensions.InvokeOrExecute(Dispatcher dispatcher, Func`1 action) at Sdl.Platform.UI.Dialogs.DisplayWindow.Sdl.Platform.Interfaces.UI.IWindow.ShowDialog() at Sdl.Desktop.Platform.Implementation.Services.DisplayService.ShowDialog[TWindow,Model](Model model) at Sdl.Platform.UI.Dialogs.MessageDialogDisplayer.<>c__DisplayClass5_0.<ShowDialog>b__0() at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout) at System.Windows.Threading.Dispatcher.Invoke(Action callback) at Sdl.Desktop.Platform.DispatcherWrapper.ApplicationDispatcher.Invoke(Action a) at Sdl.Platform.UI.Dialogs.MessageDialogDisplayer.ShowDialog(String title, String message, MessageBoxIcon icon, Buttons buttons, Boolean showDontAskAgainCheck) at Sdl.Platform.UI.Dialogs.MessageDialogDisplayer.DisplayDialog(String title, String message, MessageBoxIcon icon, Buttons buttons) at Sdl.Desktop.Platform.Implementation.Services.MessageService.AskYesNoQuestion(String question, String caption) at Sdl.Desktop.Platform.PluginManagement.PluginLoaderOutput.SplashScreenAskYesNoQuestion(String question, String caption) at Sdl.Desktop.Platform.PluginManagement.PluginLoaderService.LoadPlugins(Boolean loadThirdPartyPlugins, Boolean isSecureMode, IFunctionalityFilter functionalityFilter)]]></StackTrace> </Exception> <Environment> <ProductName>Trados Studio</ProductName> <ProductVersion>Studio17</ProductVersion> <EntryAssemblyFileVersion>17.1.8.17828</EntryAssemblyFileVersion> <OperatingSystem>Microsoft Windows 11 Pro</OperatingSystem> <ServicePack>NULL</ServicePack> <OperatingSystemLanguage>1033</OperatingSystemLanguage> <CodePage>1252</CodePage> <LoggedOnUser>---------</LoggedOnUser> <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork> <ComputerName>--------</ComputerName> <ConnectedToNetwork>True</ConnectedToNetwork> <PhysicalMemory>33219468 MB</PhysicalMemory> </Environment> </SDLErrorDetails>