VS Compiler Error (long one, I'm sorry) Someone please help

Backstory: Had a project named MyProject5, inserted new c++ class, then I had issues with VS 2022. Could not compile, messed around trying to fix, completely bricked my project. Luckily, I had a backup + a clone copy of the project, so I was able to try again.

This time, I tried to add a new C++ Class to my blueprint project, then got the error:

"The specified module path does not exist on disk: C:Users/lewis/OneDrive/Documents/Unreal Projects/MyProject5/Source/MyProject5Copy/

I went and generated the VS 2022 files, went and hit build project, and I’m getting error MSB3073:

The command ““C:\Program Files\Epic Games\UE_5.5\Engine\Build\BatchFiles\Build.bat” MyProject5Editor Win64 Development -Project=“C:\Users\lewis\OneDrive\Documents\Unreal Projects\MyProject5\MyProject5Copy.uproject” -WaitMutex -FromMsBuild -architecture=x64” exited with code 8.

The output log states:

Build started at 2:30 PM…
1>------ Skipped Build: Project: UE5, Configuration: BuiltWithUnrealBuildTool Win64 ------
1>Project not selected to build for this solution configuration
2>------ Build started: Project: MyProject5Copy, Configuration: Development_Editor x64 ------
3>------ Build started: Project: UE5Rules, Configuration: Development Any CPU ------
4>------ Build started: Project: MyProject5CopyModuleRules, Configuration: Development Any CPU ------
2>Using bundled DotNet SDK version: 8.0.300
2>Running UnrealBuildTool: dotnet “....\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” MyProject5Editor Win64 Development -Project=“C:\Users\lewis\OneDrive\Documents\Unreal Projects\MyProject5\MyProject5Copy.uproject” -WaitMutex -FromMsBuild -architecture=x64
2>Log file: C:\Users\lewis\AppData\Local\UnrealBuildTool\Log.txt
2>Creating makefile for MyProject5Editor (.uproject file is newer)
4>MyProject5CopyModuleRules → C:\Users\lewis\OneDrive\Documents\Unreal Projects\MyProject5\Intermediate\Build\BuildRulesProjects\MyProject5CopyModuleRules\bin\Development\MyProject5CopyModuleRules.dll
2>Total execution time: 7.87 seconds
2>Expecting to find a type to be declared in a module rules named ‘VisualStudioTools’ in ‘UE5Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’. This type must derive from the ‘ModuleRules’ type defined by UnrealBuildTool.
2>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(44,5): error MSB3073: The command ““C:\Program Files\Epic Games\UE_5.5\Engine\Build\BatchFiles\Build.bat” MyProject5Editor Win64 Development -Project=“C:\Users\lewis\OneDrive\Documents\Unreal Projects\MyProject5\MyProject5Copy.uproject” -WaitMutex -FromMsBuild -architecture=x64” exited with code 8.
2>Done building project “MyProject5Copy.vcxproj” – FAILED.
========== Build: 2 succeeded, 1 failed, 48 up-to-date, 1 skipped ==========
========== Build completed at 2:30 PM and took 09.031 seconds ==========

I am at a loss. I have no idea what to do and am getting pretty frustrated. Please help.

See if my reply to this post helps you: