Updating project from 5.1 to 5.4 but getting build ERROR/FAILURE in VS Studios

It told me to build through VS studios after I copied the 5.1 project to a 5.4 version. This is the messages I’m getting after trying to build. Not sure why it’s failing. Can anyone help?

Build started at 8:41 PM…
1>------ Build started: Project: Memorium, Configuration: Development_Editor x64 ------
1>Using bundled DotNet SDK version: 6.0.302
1>Running UnrealBuildTool: dotnet “…..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” MemoriumEditor Win64 Development -Project=“Z:\UE5Proj\Memorium 5.1 5.4\Memorium.uproject” -WaitMutex -FromMsBuild -architecture=x64
1>Log file: C:\Users\Administrator\AppData\Local\UnrealBuildTool\Log.txt
1>Using ‘git status’ to determine working set for adaptive non-unity build (Z:\UE5Proj\Memorium 5.1 5.4).
1>Creating makefile for MemoriumEditor (no existing makefile)
1>EXEC : warning : [Upgrade]
1>EXEC : warning : [Upgrade] Using backward-compatible build settings. The latest version of UE sets the following values by default, which may require code changes:
1>EXEC : warning : [Upgrade] bLegacyParentIncludePaths = false => Omits module parent folders from include paths to reduce compiler command line length. (Previously: true).
1>EXEC : warning : [Upgrade] CppStandard = CppStandardVersion.Default => Updates C++ Standard to C++20 (Previously: CppStandardVersion.Cpp17).
1>EXEC : warning : [Upgrade] WindowsPlatform.bStrictConformanceMode = true => Updates MSVC strict conformance mode to true (Previously: false).
1>EXEC : warning : [Upgrade] bValidateFormatStrings = true => Enables compile-time validation of strings+args passed to UE_LOG. (Previously: false).
1>EXEC : warning : [Upgrade] Suppress this message by setting ‘DefaultBuildSettings = BuildSettingsVersion.V5;’ in MemoriumEditor.Target.cs, and explicitly overriding settings that differ from the new defaults.
1>EXEC : warning : [Upgrade]
1>EXEC : warning : [Upgrade]
1>EXEC : warning : [Upgrade] Using backward-compatible include order. The latest version of UE has changed the order of includes, which may require code changes. The current setting is:
1>EXEC : warning : [Upgrade] IncludeOrderVersion = EngineIncludeOrderVersion.Oldest
1>EXEC : warning : [Upgrade] Suppress this message by setting ‘IncludeOrderVersion = EngineIncludeOrderVersion.Latest;’ in MemoriumEditor.Target.cs.
1>EXEC : warning : [Upgrade] Alternatively you can set this to ‘EngineIncludeOrderVersion.Latest’ to always use the latest include order. This will potentially cause compile errors when integrating new versions of the engine.
1>EXEC : warning : [Upgrade]
1>Total execution time: 899.03 seconds
1>MemoriumEditor modifies the values of properties: [ bStrictConformanceMode ]. This is not allowed, as MemoriumEditor has build products in common with UnrealEditor.
1>Remove the modified setting, change MemoriumEditor to use a unique build environment by setting ‘BuildEnvironment = TargetBuildEnvironment.Unique;’ in the MemoriumEditorTarget constructor, or set bOverrideBuildEnvironment = true to force this setting on.
1>Z:\VisualStudio\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(44,5): error MSB3073: The command “Z:\UE_5.4\Engine\Build\BatchFiles\Build.bat MemoriumEditor Win64 Development -Project=“Z:\UE5Proj\Memorium 5.1 5.4\Memorium.uproject” -WaitMutex -FromMsBuild -architecture=x64” exited with code 6.
1>Done building project “Memorium.vcxproj” – FAILED.
========== Build: 0 succeeded, 1 failed, 11 up-to-date, 0 skipped ==========
========== Build completed at 8:56 PM and took 15:09.187 minutes ==========