Skip to content

Crash when calling VirtualDesktop.Current.Id on latest Windows 11 Insider build #74

@Slion

Description

@Slion

After upgrading my Windows 11 installation to the insider build below I get the following exception:

Edition Windows 11 Pro
Version 22H2
OS build 22598.200
Experience Windows Feature Experience Pack 1000.22598.200.0

System.Collections.Generic.KeyNotFoundException
  HResult=0x80131577
  Message=The given key 'IApplicationView' was not present in the dictionary.
  Source=System.Private.CoreLib
  StackTrace:
   at System.ThrowHelper.ThrowKeyNotFoundException[T](T key)
   at WindowsDesktop.Interop.ComInterfaceAssemblyBuilder.CreateAssembly()
   at WindowsDesktop.Interop.ComInterfaceAssemblyBuilder.GetAssembly()
   at WindowsDesktop.VirtualDesktop.InitializeCore()
   at WindowsDesktop.VirtualDesktop.InitializeIfNeeded()
   at WindowsDesktop.VirtualDesktop.get_Current()

Related issues:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions