Could not load file or assembly 'PresentationFramework, Version=


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=, 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.


Sign In or Register to comment.