Home

Could not load file or assembly 'PresentationFramework, Version=6.0.2.0

Hello!

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

Comments

Sign In or Register to comment.