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
Could you try re-installing .NET 6 Desktop Runtime?
https://dotnet.microsoft.com/en-us/download/dotnet/6.0
Thanks Joe! It's working now.
Awesome