Hi Team!
We are trying to make use of the Switch Manager plugin on Windows but having an issue when we try to start GUI from Tools->Switch Manager:
10:33:43.952 App Caught unhandled GUI error.
10:33:43.952 App XamlParseException: The invocation of the constructor on type 'Keysight.OpenTap.Plugins.SwitchManager.BenchPanelCtl' that matches the specified binding constraints threw an exception.
10:33:43.952 App at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
10:33:43.952 App at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
10:33:43.952 App at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
10:33:43.952 App at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
10:33:43.952 App at Keysight.OpenTap.Plugins.SwitchManager.MainWindow.InitializeComponent()
10:33:43.952 App at Keysight.OpenTap.Plugins.SwitchManager.MainWindow..ctor()
10:33:43.952 App at Keysight.OpenTap.Plugins.SwitchManager.SwitchManagerMenuItem.Invoke()
10:33:43.952 App at Keysight.OpenTap.Gui.MainWindow.m.a(Object A_0, ExecutedRoutedEventArgs A_1)
10:33:43.952 App at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
10:33:43.952 App at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
10:33:43.952 App at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
10:33:43.952 App at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
10:33:43.952 App at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
10:33:43.952 App at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
10:33:43.952 App at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
10:33:43.952 App at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
10:33:43.952 App at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
10:33:43.952 App at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
10:33:43.952 App at System.Windows.Input.CommandManager.TransferEvent(IInputElement newSource, ExecutedRoutedEventArgs e)
10:33:43.952 App at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
10:33:43.952 App at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
10:33:43.952 App at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
10:33:43.952 App at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
10:33:43.952 App at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
10:33:43.952 App at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
10:33:43.952 App at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
10:33:43.952 App at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
10:33:43.952 App at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
10:33:43.952 App at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
10:33:43.952 App Inner NotSupportedException: The invoked member is not supported in a dynamic assembly.
10:33:43.952 App at System.Reflection.Emit.InternalAssemblyBuilder.get_Location()
10:33:43.952 App at Keysight.OpenTap.Plugins.SwitchManager.BenchResourceNodeData.a(IResource A_0)
10:33:43.952 App at Keysight.OpenTap.Plugins.SwitchManager.BenchResourceNodeData.a()
10:33:43.952 App at Keysight.OpenTap.Plugins.SwitchManager.BenchResourceNodeData.set_ResourceData(IResource value)
10:33:43.952 App at Keysight.OpenTap.Plugins.SwitchManager.ResourceModel.b()
10:33:43.953 App at Keysight.OpenTap.Plugins.SwitchManager.ResourceModel.d()
10:33:43.953 App at Keysight.OpenTap.Plugins.SwitchManager.ResourceModel.get_Instance()
10:33:43.953 App at Keysight.OpenTap.Plugins.SwitchManager.BenchPanelCtl..ctor()
10:33:43.953 App Exception caught at:
10:33:43.953 App at Boolean CatchException(System.Exception)
10:33:43.953 App at System.Object TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
10:33:43.953 App at Void InvokeImpl()
10:33:43.953 App at Void CallbackWrapper(System.Object)
10:33:43.953 App ...
Switch Manager version: 1.0.3 (also tried 1.0.2)
License available: Yes
Can you advise what can be the problem?
Thank you!