How to fix the Cannot open include file: 'new' Error?

When I try to make a c++ project in unreal engine I always get this error.

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

Running D:/programs/UnrealEngine/UE_4.17/Engine/Binaries/DotNET/UnrealBuildTool.exe MyProject Development Win64 -project="C://Documenten/Unreal Projects/MyProject/MyProject.uproject" -editorrecompile -progress -NoHotReloadFromIDE
Performing full C++ include scan (building a new target)
Creating makefile for MyProject (no existing makefile)
@progress push 5%
Parsing headers for MyProjectEditor
  Running UnrealHeaderTool "C:\\OneDrive\Documenten\Unreal Projects\MyProject\MyProject.uproject" "C:\\OneDrive\Documenten\Unreal Projects\MyProject\Intermediate\Build\Win64\MyProjectEditor\Development\MyProjectEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
Reflection code generated for MyProjectEditor in 10.9728991 seconds
@progress pop
Performing 15 actions (4 in parallel)
[2/15] Resource ModuleVersionResource.rc.inl
[3/15] Resource PCLaunch.rc
SharedPCH.Engine.cpp
D:\programs\UnrealEngine\UE_4.17\Engine\Source\Runtime\Core\Public\HAL/PlatformCrt.h(5): fatal error C1083: Cannot open include file: 'new': No such file or directory
ERROR: UBT ERROR: Failed to produce item: C:\\OneDrive\Documenten\Unreal Projects\MyProject\Binaries\Win64\UE4Editor-MyProject.dll
Total build time: 74.54 seconds (Local executor: 0.00 seconds)

And in visual studio 2017 i’m getting this error Screenshot - 0d0abdfa215246f49414b117faa30828 - Gyazo
But when i try to build it manually this error shows up:

1>D:\programs\UnrealEngine\UE_4.17\Engine\Source\Runtime\Core\Public\HAL/PlatformCrt.h(5): fatal error C1083: Cannot open include file: 'new': No such file or directory
1>ERROR : UBT error : Failed to produce item: C:\\OneDrive\Documenten\Unreal Projects\MyProject\Binaries\Win64\UE4Editor-MyProject-9103.dll
1>Total build time: 6.08 seconds (Local executor: 0.00 seconds)
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(41,5): error MSB3075: The command "D:\programs\UnrealEngine\UE_4.17\Engine\Build\BatchFiles\Build.bat MyProjectEditor Win64 Development "C:\\OneDrive\Documenten\Unreal Projects\MyProject\MyProject.uproject" -waitmutex" exited with code 5. Please verify that you have sufficient rights to run this command.
1>Done building project "MyProject.vcxproj" -- FAILED.