warning MSB8003: The WindowsSDKDir property is not defined

  • Thread starter Thread starter Juan Dent
  • Start date Start date
J

Juan Dent

Guest
I just installed Visual Studio 2019 in a fresh copy of Windows 10 Pro, but upon rebuilding a preexisting solution I get these warnings:

1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(449,5): warning MSB8003: The WindowsSDKDir property is not defined. Some build tools may not be found.
2>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(449,5): warning MSB8003: The WindowsSDKDir property is not defined. Some build tools may not be found.



and these errors:

1>C:\Users\Juan Dent\Source\Repos\TransformDownloadedStatements\GridCtrlDll\targetver.h(8,10): fatal error C1083: Cannot open include file: 'SDKDDKVer.h': No such file or directory
2>C:\Users\Juan Dent\Source\Repos\TransformDownloadedStatements\RSAFacade\targetver.h(8,10): fatal error C1083: Cannot open include file: 'SDKDDKVer.h': No such file or directory
2>Done building project "RSAFacade.vcxproj" -- FAILED.
1>Done building project "GridCtrlDll.vcxproj" -- FAILED.
3>------ Build started: Project: ExpenseManagerMFC, Configuration: Release Unicode Win32 ------
3>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1850,5): warning : The referenced project '..\..\..\..\Documents\Visual Studio 2017\Projects\GettingWMIFromLocalComputer\GetHardDriveSerialNumber\GetHardDriveSerialNumber.vcxproj' does not exist.
3>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(449,5): warning MSB8003: The WindowsSDKDir property is not defined. Some build tools may not be found.
3>stdafx.cpp
3>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\include\yvals.h(12,10): fatal error C1083: Cannot open include file: 'crtdbg.h': No such file or directory
3>Done building project "ExpenseManagerMFC.vcxproj" -- FAILED.
========== Build: 0 succeeded, 3 failed, 0 up-to-date, 0 skipped ==========




Please help!!


Regards,

Juan Dent






Juan Dent

Continue reading...
 
Back
Top