在WIndows 7操作系统上同时安装VS2012与VS2015并用VS2012创建MFC程序时弹出编译错误”fatal error C1083: 无法打开包括文件:“mprapidef.h”: No such file or directory”的解决办法:
I installed vs2015 and vs2012, then the same problem occurs,however, I find a solution.
open visual studio project settings,click VC++ Directories, find Include Directories,add the following line to it.
C:Program Files (x86)Windows Kits8.1Includeshared
One may add the corresponding 8.1 paths to the environment variable. Maybe it's necessary to do the same thing with the lib environment variable (WindowsSDK_LibraryPath_x86).