We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.TypeInitializationException: The type initializer for 'VirtualDesktop.DesktopManager' threw an exception. ---> System.InvalidCastException: Specified cast is not valid. at VirtualDesktop.IServiceProvider10.QueryService(Guid& service, Guid& riid) at VirtualDesktop.DesktopManager..cctor() --- End of inner exception stack trace --- at VirtualDesktop.Desktop.get_Current() at Productiv.VirtualDesktopAdapters.IsCurrentDesktopUnamed() in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\VirtualDesktopAdapters.cs:line 51 at Productiv.EventHandlers.OnCreateMinimized(IntPtr Handle) in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\EventHandlers.cs:line 90 at GlobalHooksTest.Form1._GlobalHooks_ShellWindowCreated(IntPtr Handle) in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\Form1.cs:line 921 at GlobalHooksTest.GlobalHooks.ShellHook.ProcessWindowMessage(Message& m) in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\GlobalHooks.cs:line 376 at GlobalHooksTest.GlobalHooks.ProcessWindowMessage(Message& m) in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\GlobalHooks.cs:line 100 at GlobalHooksTest.Form1.WndProc(Message& m) in D:\PROJECTS\Global-CbtHook2\Global-CbtHook\GlobalHooksTestCore\Form1.cs:line 254 at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** System.Private.CoreLib Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.36/System.Private.CoreLib.dll ---------------------------------------- Productiv Assembly Version: 0.0.0.0 Win32 Version: 0.0.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/EshSub/Productiv/Productiv.dll ---------------------------------------- System.Windows.Forms Assembly Version: 6.0.2.0 Win32 Version: 6.0.3624.51513 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.36/System.Windows.Forms.dll ---------------------------------------- System.ComponentModel.Primitives Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.36/System.ComponentModel.Primitives.dll ---------------------------------------- System.Runtime Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.36/System.Runtime.dll ---------------------------------------- System.Windows.Forms.Primitives Assembly Version: 6.0.2.0 Win32 Version: 6.0.3624.51513 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.36/System.Windows.Forms.Primitives.dll ---------------------------------------- System.Runtime.InteropServices Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.36/System.Runtime.InteropServices.dll ---------------------------------------- System.Drawing.Primitives Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.36/System.Drawing.Primitives.dll ---------------------------------------- System.Collections.Specialized Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.36/System.Collections.Specialized.dll ---------------------------------------- System.Collections Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.36/System.Collections.dll ---------------------------------------- Microsoft.Win32.Registry Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.36/Microsoft.Win32.Registry.dll ---------------------------------------- System.Drawing.Common Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.36/System.Drawing.Common.dll ---------------------------------------- System.Configuration.ConfigurationManager Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.36/System.Configuration.ConfigurationManager.dll ---------------------------------------- System.Diagnostics.TraceSource Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.36/System.Diagnostics.TraceSource.dll ---------------------------------------- Microsoft.Win32.Primitives Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.36/Microsoft.Win32.Primitives.dll ---------------------------------------- System.Threading Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.36/System.Threading.dll ---------------------------------------- System.ComponentModel.EventBasedAsync Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.36/System.ComponentModel.EventBasedAsync.dll ---------------------------------------- System.Threading.Thread Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.36/System.Threading.Thread.dll ---------------------------------------- Accessibility Assembly Version: 4.0.0.0 Win32 Version: 6.0.3624.51513 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.36/Accessibility.dll ---------------------------------------- System.ComponentModel.TypeConverter Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.36/System.ComponentModel.TypeConverter.dll ---------------------------------------- System.ComponentModel Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.36/System.ComponentModel.dll ---------------------------------------- System.Numerics.Vectors Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.36/System.Numerics.Vectors.dll ---------------------------------------- System.Resources.Extensions Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.36/System.Resources.Extensions.dll ---------------------------------------- System.Memory Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.36/System.Memory.dll ---------------------------------------- System.Drawing Assembly Version: 6.0.2.0 Win32 Version: 6.0.3624.51513 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.36/System.Drawing.dll ---------------------------------------- System.Collections.Concurrent Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.36/System.Collections.Concurrent.dll ---------------------------------------- System.ObjectModel Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.36/System.ObjectModel.dll ---------------------------------------- System.Linq Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.36/System.Linq.dll ---------------------------------------- Microsoft.Win32.SystemEvents Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/6.0.36/Microsoft.Win32.SystemEvents.dll ---------------------------------------- System.Console Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.36/System.Console.dll ---------------------------------------- System.Text.Encoding.Extensions Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.36/System.Text.Encoding.Extensions.dll ---------------------------------------- System.Diagnostics.FileVersionInfo Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.36/System.Diagnostics.FileVersionInfo.dll ---------------------------------------- System.Runtime.InteropServices.RuntimeInformation Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.36/System.Runtime.InteropServices.RuntimeInformation.dll ---------------------------------------- System.Private.Uri Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.36/System.Private.Uri.dll ---------------------------------------- System.Xml.ReaderWriter Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.36/System.Xml.ReaderWriter.dll ---------------------------------------- System.Private.Xml Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.36/System.Private.Xml.dll ---------------------------------------- System.Net.WebClient Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.36/System.Net.WebClient.dll ---------------------------------------- System.Collections.NonGeneric Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.36/System.Collections.NonGeneric.dll ---------------------------------------- VirtualDesktop Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/EshSub/Productiv/VirtualDesktop.dll ---------------------------------------- System.Runtime.Loader Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.36/System.Runtime.Loader.dll ---------------------------------------- System.Diagnostics.StackTrace Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.36/System.Diagnostics.StackTrace.dll ---------------------------------------- System.Reflection.Metadata Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.36/System.Reflection.Metadata.dll ---------------------------------------- System.Collections.Immutable Assembly Version: 6.0.0.0 Win32 Version: 6.0.3624.51421 CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/6.0.36/System.Collections.Immutable.dll ---------------------------------------- ************** JIT Debugging **************
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The text was updated successfully, but these errors were encountered: