How To Fix: Build Failed Unknown Error/Unable to find resource compiler

Greetings there! Im fairly brand new to UE5 so go easy on me… Im having build errors when packaging my game to Windows. Ive looked all over the internet for answers and tried everything from installing VS 2017 & VS 2022 and now it seems im getting an error where it is unable to find a path to the resource compiler. Hoping someone here can take a glance at the build report to help me get a better understanding to why im having this issue. Thanks in advance!

LogUObjectHash: Compacting FUObjectHashTables data took 0.81ms
LogTurnkeySupport: Project requires temp target (Landmass plugin is enabled)
LogLauncherProfile: Unable to use promoted target - C:/Users/Johnd/Documents/Unreal Projects/MedievalGameEnvironment2 5.2/Binaries/Win64/UnrealGame.target does not exist.
LogMonitoredProcess: Running Serialized UAT: [ cmd.exe /c ““E:/Program Files/Epic Games/UE_5.2/Engine/Build/BatchFiles/RunUAT.bat” -ScriptsForProject=“C:/Users/Johnd/Documents/Unreal Projects/MedievalGameEnvironment2 5.2/MedievalGameEnvironment2.uproject” Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=50426 -project=“C:/Users/Johnd/Documents/Unreal Projects/MedievalGameEnvironment2 5.2/MedievalGameEnvironment2.uproject” BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=“C:/Users/Johnd/Documents/Unreal Projects/MedievalGameEnv
ironment2 5.2/MedievalGameEnvironment2.uproject” -unrealexe=“E:\Program Files\Epic Games\UE_5.2\Engine\Binaries\Win64\UnrealEditor-Cmd.exe” -platform=Win64 -installed -stage -archive -package -build -pak -iostore -compressed -prereqs -archivedirectory=“C:/Users/Johnd/Desktop/Medieval Village” -clientconfig=Development” -nocompile -nocompileuat ]
UATHelper: Packaging (Windows): Running AutomationTool…
UATHelper: Packaging (Windows): Using bundled DotNet SDK version: 6.0.302
UATHelper: Packaging (Windows): Starting AutomationTool…
UATHelper: Packaging (Windows): Parsing command line: -ScriptsForProject=“C:/Users/Johnd/Documents/Unreal Projects/MedievalGameEnvironment2 5.2/MedievalGameEnvironment2.uproject” Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=50426 -project=“C:/Users/Johnd/Documents/Unreal Projects/MedievalGameEnvironment2 5.2/MedievalGameEnvironment2.uproject” BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=“C:/Users/Johnd/Documents/Unreal Projects/MedievalGameEnvironment2 5.2/MedievalGameEnvironment2.uproject” -unrealexe=“E:\Program Files\Ep
ic Games\UE_5.2\Engine\Binaries\Win64\UnrealEditor-Cmd.exe” -platform=Win64 -installed -stage -archive -package -build -pak -iostore -compressed -prereqs -archivedirectory=“C:/Users/Johnd/Desktop/Medieval Village” -clientconfig=Development -nocompile -nocompileuat
UATHelper: Packaging (Windows): Initializing script modules…
UATHelper: Packaging (Windows): Total script module initialization time: 0.21 s.
UATHelper: Packaging (Windows): Executing commands…
UATHelper: Packaging (Windows): Installed Sdk validity:
UATHelper: Packaging (Windows): Win64: (Status=Valid, MinAllowed_Sdk=10.0.00000.0, MaxAllowed_Sdk=10.9.99999.0, Current_Sdk=10.0.22621.0, Allowed_AutoSdk=10.0.18362.0, Current_AutoSdk=, Flags=“InstalledSdk_ValidVersionExists”)
UATHelper: Packaging (Windows): Scanning for envvar changes…
UATHelper: Packaging (Windows): … done!
UATHelper: Packaging (Windows): Cleaning Temp Paths…
UATHelper: Packaging (Windows): BUILD SUCCESSFUL
UATHelper: Packaging (Windows): Setting up ProjectParams for C:\Users\Johnd\Documents\Unreal Projects\MedievalGameEnvironment2 5.2\MedievalGameEnvironment2.uproject
UATHelper: Packaging (Windows): MedievalGameEnvironment2.uproject requires a temporary target.cs to be generated (Landmass plugin is enabled)
UATHelper: Packaging (Windows): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows): Running: E:\Program Files\Epic Games\UE_5.2\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe “E:\Program Files\Epic Games\UE_5.2\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” MedievalGameEnvironment2 Win64 Development -Project=“C:\Users\Johnd\Documents\Unreal Projects\MedievalGameEnvironment2 5.2\MedievalGameEnvironment2.uproject” “C:\Users\Johnd\Documents\Unreal Projects\MedievalGameEnvironment2 5.2\MedievalGameEnvironment2.uproject” -NoUBTMakefiles -remoteini=“C:\Users\Johnd\Documents\Unreal Projects\MedievalGameEnvironment2 5.2” -
skipdeploy -Manifest=“C:\Users\Johnd\Documents\Unreal Projects\MedievalGameEnvironment2 5.2\Intermediate\Build\Manifest.xml” -NoHotReload -log=“C:\Users\Johnd\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+Program+Files+Epic+Games+UE_5.2\UBT-MedievalGameEnvironment2-Win64-Development.txt”
UATHelper: Packaging (Windows): Log file: C:\Users\Johnd\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+Program+Files+Epic+Games+UE_5.2\UBT-MedievalGameEnvironment2-Win64-Development.txt
UATHelper: Packaging (Windows): Unable to find path to the Windows resource compiler under C:\Program Files (x86)\Windows Kits\10 (version 10.0.22621.0)
UATHelper: Packaging (Windows): Took 0.9024485s to run dotnet.exe, ExitCode=6
UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\Johnd\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+Program+Files+Epic+Games+UE_5.2\UBT-MedievalGameEnvironment2-Win64-Development.txt)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 3s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (Windows): BUILD FAILED
PackagingResults: Error: Unknown Error

did you solve it?