In some cases, building a cpp target by only passing -Target= can select an undesired target to build. If -Project= is also passed when available that will ensure the correct target is built when duplicate named targets exist.
Run GenerateProjectFiles.bat
Ensure the NMake build command in a game vcxproj includes -Project
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-173279 in the post.
| 0 |
| Component | UE - Foundation - Cpp Tools - UnrealBuildTool |
|---|---|
| Affects Versions | 5.1 |
| Target Fix | 5.2 |
| Created | Jan 3, 2023 |
|---|---|
| Resolved | Jan 21, 2023 |
| Updated | Jan 31, 2023 |