microsoft / mu_basecore

Project Mu BaseCore
https://microsoft.github.io/mu/
Other
242 stars 124 forks source link

[Bug]: Build System Bug - inf file lost in the build output when both sources and binaries are provided in the inf #1136

Open liqiqiii opened 1 month ago

liqiqiii commented 1 month ago

Is there an existing issue for this?

Current Behavior

When integrating the latest ImageValidation script, I noticed that one of the inf will cause a warning that inf is not found for the efi. I made some investigations and compared it to the other inf we have; the main difference is that it includes both sources and binaries.

Expected Behavior

Inf should be generated and put in the output folder.

Steps To Reproduce

On a Win11 OS, with VS2022, try to build either DEBUG/RELEASE UEFI with the ImageValidation on. Pick a random inf with [Sources] and add a [Binaries] to it and it will always reproduce. To fix it just comment out the binaries.

Build Environment

- OS(s):Win11
- Tool Chain(s):VS2022
- Targets Impacted:DEBUG/RELEASE

Version Information

Commit: f2a5ec93844e7f546e69ff44fc8ad7360e2fd2c6

Urgency

Medium

Are you going to fix this?

Someone else needs to fix it

Do you need maintainer feedback?

No maintainer feedback needed

Anything else?

No response

### Tasks