Failed to load file or assembly 'PresentationFramework, Version = 3.0.0.0, Culture = neutral,

I am working on a WPF application that was first targeted at the 3.0 framework. When I tried to get it to work with 4.0, I got the following exception.

System.IO.FileNotFoundException was unhandled Message: Failed to load file or assembly 'PresentationFramework, Version = 3.0.0.0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35' or one of its dependencies. The system cannot find the specified file.

If I compile the application using .Net 4.0, it works fine. But 3.0 exes do not work with 4.0.

Thanks in advance.

+4
source share
1 answer

Try removing the link to the DLL in the PresentationFramework in the Visual Studio project, and then reconfigure the application structure in the project properties, and then add the PresentationFramework link again.

+2
source

All Articles