Windows SDK Version not found

error MSB8036: The Windows SDK version 10.0.17763.0 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting “Retarget solution”.

Been encountering this. Is there any way to fix it? Or am I missing something?

Here’s my .yml

language: cpp

os: windows
  - MSBUILD_PATH="c:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin"
  - MSBuild.exe MySln.sln -t:Clean -t:Build -p:Configuration=Release;

Adding choco install helps.

  - choco install windows-sdk-10-version-1809-all

But build now takes about 6 minutes. Is it required to install everytime? Or just the first run?

230 - 250 seconds of installing SDK.

Is there any way to cache it instead?

do the Windows cpp builds still work for you? I cannot get the MSBuild.exe to run


Hi JanC,

Without installing via choco, I am still unable to build.

However, after installing via choco, it’s working fine, albeit slow. I’ve since moved on to Jenkins, using my own PC to host my own Continuous Integration.

I managed to setup a Visual Studio job quite easily (without choco) and it was building fine but then all stopped working. See my post here

I think something changed on Travis :confused:

thanks for your answer