Compiled Failed after changing project location and delete old SDK

Hi all, I have this issue which I’ve tried for few days but couldn’t figure it out. I’ve got a new SSD where I would like to copy all of my project to, but after change the location and update visual studio code to latest version(Which I have deleted the old SDK), I couldn’t compile the pj any more: here is my log:
Build started…
1>------ Build started: Project: My1stCPP_PJ, Configuration: Development_Editor x64 ------
2>------ Skipped Build: Project: UE5, Configuration: BuiltWithUnrealBuildTool Win64 ------
2>Project not selected to build for this solution configuration
1>Using bundled DotNet SDK version: 6.0.302
1>Running UnrealBuildTool: dotnet “…..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” My1stCPP_PJEditor Win64 Development -Project=“C:\Users\dacdo.TT2TT\OneDrive\Tài liệu\Unreal Projects\My1stCPP_PJ\My1stCPP_PJ.uproject” -WaitMutex -FromMsBuild
1>Log file: C:\Users\dacdo.TT2TT\AppData\Local\UnrealBuildTool\Log.txt
1>Building My1stCPP_PJEditor…
1>Using Visual Studio 2022 14.34.31946 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933) and Windows 10.0.22621.0 SDK (C:\Program Files (x86)\Windows Kits\10).
1>[Upgrade]
1>[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>[Upgrade] IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_0
1>[Upgrade] Suppress this message by setting ‘IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_2;’ in My1stCPP_PJEditor.Target.cs.
1>[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>[Upgrade]
1>Determining max actions to execute in parallel (12 physical cores, 20 logical cores)
1> Executing up to 12 processes, one per physical core
1>Building 18 actions with 12 processes…
1>[1/18] WriteMetadata My1stCPP_PJEditor.target cancelled
1>[2/18] Resource Default.rc2
1>EXEC : fatal error RC1109: error creating C:\Users\dacdo.TT2TT\OneDrive\Tai li�?u\Unreal Projects\My1stCPP_PJ\Intermediate\Build\Win64\x64\UnrealEditor\Development\My1stCPP_PJ\Default.rc2.res 1>[3/18] Link [x64] UnrealEditor-My1stCPP_PJ.lib cancelled 1>[4/18] Link [x64] UnrealEditor-My1stCPP_PJ.dll cancelled 1>[5/18] Compile [x64] Microsoft (R) C/C++ Optimizing Compiler Version 19.34.31946 for x64 1>Copyright (C) Microsoft Corporation. All rights reserved. 1>cl : Command line error D8022: cannot open 'C:\Users\dacdo.TT2TT\OneDrive\Tai li�?u\Unreal Projects\My1stCPP_PJ\Intermediate\Build\Win64\x64\My1stCPP_PJEditor\Development\Engine\SharedPCH.Engine.ShadowErrors.InclOrderUnreal5_0.h.obj.response’
1>[6/18] Compile [x64] My1stCPP_PJ.cpp cancelled
1>[7/18] Compile [x64] CPP_Character.cpp cancelled
1>[8/18] Compile [x64] Weapons.cpp cancelled
1>[9/18] Compile [x64] CPPCharacterAnimInstance.gen.cpp cancelled
1>[10/18] Compile [x64] Bird.gen.cpp cancelled
1>[11/18] Compile [x64] CPP_Character.gen.cpp cancelled
1>[12/18] Compile [x64] item.cpp cancelled
1>[13/18] Compile [x64] EnumStates.gen.cpp cancelled
1>[14/18] Compile [x64] item.gen.cpp cancelled
1>[15/18] Compile [x64] CPPCharacterAnimInstance.cpp cancelled
1>[16/18] Compile [x64] My1stCPP_PJ.init.gen.cpp cancelled
1>[17/18] Compile [x64] Weapons.gen.cpp cancelled
1>[18/18] Compile [x64] Bird.cpp cancelled
1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(44,5): error MSB3073: The command ““C:\Program Files (x86)\UE_5.2\Engine\Build\BatchFiles\Build.bat” My1stCPP_PJEditor Win64 Development -Project=“C:\Users\dacdo.TT2TT\OneDrive\Tài liệu\Unreal Projects\My1stCPP_PJ\My1stCPP_PJ.uproject” -WaitMutex -FromMsBuild” exited with code 6.
1>Done building project “My1stCPP_PJ.vcxproj” – FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 1 skipped ==========
========== Build started at 11:50 AM and took 00.659 seconds ==========
Please help me! Thank you very much in advance!

Hi!

Have you tried deleting folders “Binaries”, “Intermediate” and “Saved” inside project folder and building again?

Hi, there’s some folder name containing illegal characters in your project path, try change them to normal characters.