c# – 目标框架中缺少’WindowsBase’,’PresentationCore’,’PresentationFramework’教程
我试图在Visual Studio 2013中加载一个解决方案,但我收到此消息:
当我单击确定时,它显示另一条错误消息:
Attempted re-targeting of the project has been canceled. Required
assemblies ‘WindowsBase’, ‘PresentationCore’, ‘PresentationFramework’
are missing from the target framework.
我安装了所有.NET Framework(我运行的是Windows 10),我已经尝试过.NET Framework修复工具(https://support.microsoft.com/en-us/kb/2698555).
解决方法:
您可以在记事本中打开该项目文件并将.net版本更改为并尝试在VS 2013中加载它