This fixed everything except the last error:
Error MSB3073 The command “D:\UE_5.1\Engine\Build\BatchFiles\Build.bat TUT02Editor Win64 Development -Project=“C:\Users\andre\Documents\Unreal Projects\TUT02\TUT02.uproject” -WaitMutex -FromMsBuild” exited with code 6. TUT02 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets 45
any ideas how to fix this?