Description

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.

Steps to Reproduce

Run GenerateProjectFiles.bat

Ensure the NMake build command in a game vcxproj includes -Project

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-173279 in the post.

0
Login to Vote

Fixed
ComponentUE - Foundation - Cpp Tools - UnrealBuildTool
Affects Versions5.1
Target Fix5.2
Fix Commit23801044
Main Commit23801044
CreatedJan 3, 2023
ResolvedJan 21, 2023
UpdatedJan 31, 2023
View Jira Issue