WindowsSDK_LibraryPath_ * is invalid

I am using Visual Studio 2012 Express on Windows 7 with the installed Windows SDK 7.1, 8.0 and 8.1. For some reason $(WindowsSDK_Library_Path_x64)set to

C:\Program Files (x86)\Windows Kits\8.0\lib\winv6.3\um\x64

instead

C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64.

Similarly _armand _x86. This causes all sorts of problems, starting with "cannot open kernel32.lib file." How to fix this without renaming the directory itself? I just installed the SDK 8.0, so this is not possible because it was corrupted by another program. Thank.

I searched the SDK directory and found a file C:\Program Files (x86)\Windows Kits\8.0\SDKManifest.xmlthat contains

<FileList
  DisplayName = "Windows 8.1"
  PlatformIdentity = "Windows, Version=8.1"      
  TargetFramework = ".NETCore,version=v4.5.1;.NETFramework,version=v4.5.1"
  MinVSVersion = "12.0"
  MinOSVersion = "6.3.0"
  MaxOSVersionTested = "6.3.0"
  UnsupportedDowntarget = "Windows, version=8.0">

  <File Reference = "Windows">
    <ToolboxItems VSCategory = "Toolbox.Default"/>
  </File>
</FileList>

Is it possible that winv6.3 ?

+4
source share
2 answers

. : "C:\Program Files (x86)\Windows Kits\8.0\DesignTime\CommonConfiguration\Neutral\Windows.props"

winv6.3 win8 IDE .

+5

VS 2015, VS2012 ++

LINK: LNK1104: 'kernel32.lib'

: $ (WindowsSdkDir) Lib\winv6.3\\x64; $ (WindowsSdkDir) Lib\win8\\x64;

Windows.props. "C:\Program Files (x86)\Windows Kits\8.0\DesignTime\CommonConfiguration\Neutral\Windows.props"

+1

Source: https://habr.com/ru/post/1540261/


All Articles