Could not load file or assembly 'PresentationFramework, Version=220.127.116.11
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=18.104.22.168, 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.