Hello there @HXhlx!
Checking through your log, the main errors to check out are:
Resource Default.rc2: Exited with error code -1 . The build will fail.
Compile [x64] SharedPCH.UnrealEd.Project.ValApi.ValExpApi.Cpp20.cpp: Exited with error code -1 . The build will fail.
Both of these aim at an issue when UE is attempting to work with the C++ compiler, and failing to do so. This type of conflict is usually tied to missing or incompatible VS components.
So, the first step is to double-check your entire setup, and make sure you are using the correct version for all components in your UE/VS install. Please follow the doc below to do so:
After this process, the next step is to clear your project’s cache. In order to do this, close Unreal Engine, and delete the following folders from your project directory:
Binaries/
Intermediate/
Saved/
Finally, re-generate your Visual Studio project files, and build your solution again. Hope this helps!