When trying to create a c++ basic template on ue4 an error is displayed?

The project could not be compiled. Would you like to open it in Visual Studio?

Running C:/Program Files/Epic Games/UE_4.22/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Win64 -Project=“C:/Users/youss_k9s7k3c/Documents/Unreal Projects/TestWithCode/TestWithCode.uproject” -TargetType=Editor -Progress -NoHotReloadFromIDE
C:\Users\youss_k9s7k3c\AppData\Roaming\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml(2): warning: The element ‘Configuration’ in namespace ‘https://www.unrealengine.com/BuildConfiguration’ cannot contain text. List of possible elements expected: ‘CMakefileGenerator, VSCodeProjectFileGenerator, VCMacProjectFileGenerator, XcodeProjectFileGenerator, SNDBS, HTML5Platform, CodeLiteGenerator, QMakefileGenerator, KDevelopGenerator, ProjectFileGenerator, SourceFileWorkingSet, MakefileGenerator, WindowsPlatform, BuildMode, VCProjectFileGenerator, LocalExecutor, RemoteMac, EddieProjectFileGenerator, BuildConfiguration, WindowsTargetRules, CLionGenerator, ParallelExecutor, IOSToolChain, HybridExecutor, UEBuildConfiguration’ in namespace ‘https://www.unrealengine.com/BuildConfiguration’.
C:\Users\youss_k9s7k3c\AppData\Roaming\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml(5): warning: The element ‘Configuration’ in namespace ‘https://www.unrealengine.com/BuildConfiguration’ cannot contain text. List of possible elements expected: ‘CMakefileGenerator, VSCodeProjectFileGenerator, VCMacProjectFileGenerator, XcodeProjectFileGenerator, SNDBS, HTML5Platform, CodeLiteGenerator, QMakefileGenerator, KDevelopGenerator, ProjectFileGenerator, SourceFileWorkingSet, MakefileGenerator, WindowsPlatform, BuildMode, VCProjectFileGenerator, LocalExecutor, RemoteMac, EddieProjectFileGenerator, WindowsTargetRules, CLionGenerator, ParallelExecutor, IOSToolChain, HybridExecutor, UEBuildConfiguration’ in namespace ‘https://www.unrealengine.com/BuildConfiguration’.
Creating makefile for TestWithCodeEditor (no existing makefile)
@progress push 5%
Parsing headers for TestWithCodeEditor
Running UnrealHeaderTool “C:\Users\youss_k9s7k3c\Documents\Unreal Projects\TestWithCode\TestWithCode.uproject” “C:\Users\youss_k9s7k3c\Documents\Unreal Projects\TestWithCode\Intermediate\Build\Win64\TestWithCodeEditor\Development\TestWithCodeEditor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed
Reflection code generated for TestWithCodeEditor in 15.018572 seconds
@progress pop
Using Visual Studio 2017 14.15.26726 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726) and Windows 10.0.17134.0 SDK (C:\Program Files (x86)\Windows Kits\10).
Building 9 actions with 4 processes…
@progress ‘Compiling C++ source code…’ 0%
@progress ‘Compiling C++ source code…’ 11%
[1/9] Default.rc2
@progress ‘Compiling C++ source code…’ 22%
[2/9] SharedPCH.Engine.cpp
c:\program files\epic games\ue_4.22\engine\source\runtime\core\public\Windows/WindowsPlatformCompilerSetup.h(22): error C2338: Visual Studio 2017 versions 15.7 and 15.8 are known to have code generation bugs that affect UE4. Please update to version 15.9.

error C2338: Visual Studio 2017 versions 15.7 and 15.8 are known to have code generation bugs that affect UE4. Please update to version 15.9.
try doing this