Search code examples
c#.netvisual-studiovisual-studio-2012visual-studio-2013

'WindowsBase', 'PresentationCore', 'PresentationFramework' are missing from the target framework


I am trying to load a solution in Visual Studio 2013 but I am receiving this message:

Project Target Framework Not Installed

When I click OK it shows another error message:

Attempted re-targeting of the project has been canceled. Required assemblies 'WindowsBase', 'PresentationCore', 'PresentationFramework' are missing from the target framework.

I have all .NET Framework installed (I am running Windows 10) and I already tried the .NET Framework Repair Tool (https://support.microsoft.com/en-us/kb/2698555).


Solution

  • Open that project file in notepad and change .net version to < your project .net version > and try loading it in VS 2013