UE4 can not compile c++ project with vs2017

So when i start to create a c++ project under ue4.20.2 and vs2017,there is a error:

ERROR: UnrealBuildTool Exception:
Unable to find path to the Windows
resource compiler under C:\Program
Files (x86)\Windows Kits\10 (version
10.0.16299.0)

And i find my vs2017 haven’t the 10.0.16299.0 version sdk(I have 10.0.10240.0 and 10.0.17134.0).How can i do for this(how to specify the sdk version)?

Open Visual Studio Installer and see which Windows 10 SDK you have installed. Are you sure you have installed all the needed components to development with unreal?