Where is WindowsSDK_IncludePath defined?

前端 未结 4 912
清歌不尽
清歌不尽 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 12:56

    Search for *.props in C:\Program Files (x86)\Windows Kits\

    In my case the file causing the problem was UAP.props. Editing the file and changing 4.7.1 to 4.6.1 solved the issue.

    
        $([MSBUILD]::GetDirectoryNameOfFileAbove('$(MSBUILDTHISFILEDIRECTORY)', 'sdkmanifest.xml'))\
        $(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\NETFXSDK\4.7.1@KitsInstallationFolder)
        $(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\NETFXSDK\4.7.1@KitsInstallationFolder)
      
    

提交回复
热议问题