Could not load file or assembly 'PresentationFramework, Version=126.96.36.199
I was trying to create a simple UI using LINQPad 7, but I have this FileNotFoundException when I execute it: "Could not load file or assembly 'PresentationFramework, Version=188.8.131.52, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified."
I just added this to the query and executed it:
PanelManager.StackWpfElement(new System.Windows.Controls.StackPanel(), "Test");
It's working if I select .NET5 in the combobox... but I wanted it to work with .NET6 if possible.
Thanks for your help.