Visual Studio 2022 error MSB3073 while trying to do Hello World tutorial

Hi, I was wondering if there is anyone at all who could help with this. I am an absolute beginner who knows literally nothing about coding and I have just started trying to do this tutorial Coder 01 Set Up and Compile a C++ Project in Unreal Engine | Unreal Engine 5.7 Documentation | Epic Developer Community , as well as this setup guide for Visual Studio Setting Up Visual Studio Development Environment for C++ Projects in Unreal Engine | Unreal Engine 5.5 Documentation | Epic Developer Community , I have followed every step to the letter, checked and rechecked, uninstalled and reinstalled, searched everywhere online, but I cannot find an answer. People have apparently came across this before, I have tried the fixes they’ve mentioned but still every time I I get to the ‘compile and test your code, this is what Visual Studio tells me.

Build started at 3:55 PM…
1>------ Build started: Project: AdventureProject, Configuration: Development_Editor x64 ------
1>Using bundled DotNet SDK version: 8.0.412 win-x64
1>Running UnrealBuildTool: dotnet “…\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” AdventureProjectEditor Win64 Development -Project=“G:\Unreal Projects\AdventureGame\AdventureProject\AdventureProject.uproject” -WaitMutex -FromMsBuild -architecture=x64 -WorkingDir=G:\Unreal Projects\AdventureGame\AdventureProject\Intermediate\ProjectFiles -Files=…\Source\AdventureProject\Private\AdventureGameMode.cpp
1>Log file: C:\Users\*****_\AppData\Local\UnrealBuildTool\Log.txt
1>Parsing headers for AdventureProjectEditor
1> Running Internal UnrealHeaderTool “G:\Unreal Projects\AdventureGame\AdventureProject\AdventureProject.uproject” “G:\Unreal Projects\AdventureGame\AdventureProject\Intermediate\Build\Win64\AdventureProjectEditor\Development\AdventureProjectEditor.uhtmanifest” -WarningsAsErrors -installed
1>UHT processed AdventureProjectEditor in 9.6074811 seconds (0 files written)
1>Creating makefile for Projects\AdventureGame\AdventureProject\Intermediate\ProjectFiles (no existing makefile)
1>Couldn’t find target rules file for target ‘Projects\AdventureGame\AdventureProject\Intermediate\ProjectFiles’ in rules assembly ‘UE5Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’
1>
1>Location: C:\Program Files\Epic Games\UE_5.7\Engine\Intermediate\Build\BuildRules\UE5Rules.dll
1>
1>
1>
1>Result: Failed (RulesError)
1>Total execution time: 12.00 seconds
1>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(70,5): error MSB3073: The command ““C:\Program Files\Epic Games\UE_5.7\Engine\Build\BatchFiles\Build.bat” AdventureProjectEditor Win64 Development -Project=“G:\Unreal Projects\AdventureGame\AdventureProject\AdventureProject.uproject” -WaitMutex -FromMsBuild -architecture=x64 -WorkingDir=G:\Unreal Projects\AdventureGame\AdventureProject\Intermediate\ProjectFiles -Files=…\Source\AdventureProject\Private\AdventureGameMode.cpp” exited with code 8.
1>Done building project “AdventureProject.vcxproj” – FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Build completed at 3:55 PM and took 13.300 seconds ==========

I am using UE5.7.3 and Visual Studio 2022 Professional.

Is there any other info needed to figure it out?

So yeah, can someone please help me out? I just wanna make make some games

Thanks in advance.