Where is WindowsSDK_IncludePath defined?

前端 未结 4 905
清歌不尽
清歌不尽 2020-12-16 12:15

The macro $(WindowsSDK_IncludePath) has the values shown in the picture.

I\'d like to know where those values are defined, they must be defined in some files.

<
4条回答
  •  离开以前
    2020-12-16 13:12

    For me it was the file Microsoft.Cpp.Common.props in folder C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140, where I had to change the hardcoded Windows 10 SDK version from 10.0.10240.0 to 10.0.10586.0.

    
    10.0.10586.0
    

    I'm using VS2015 on Windows 10 and wasn't able to compile against Windows 8.1 SDK because of missing include files. Installing the standalone Windows 10 SDK didn't help either (because it doesn't contain ucrt files for 10.0.10240 like ctype.h a.s.o.).

提交回复
热议问题