Skip to content

[Windows build perf] _CompileAppManifest is always executed #19607

@emaf

Description

@emaf

Steps to Reproduce

_CompileAppManifest should be skipped if the related imput files did not change, not just because the time it takes to execute this target, but because it also causes _CoreCompileImageAssets, _CoreCompileCoreMLModels and CopyResourcesToBundle to run unnecesarily. This might not add a lot of time on local builds, but on remote builds this could add easily 3-4 seconds.

image

How other targets are forced to be executed:
image

image

Expected Behavior

Actual Behavior

Environment

Version information

Build Logs

Example Project (If Possible)

Metadata

Metadata

Assignees

No one assigned

    Labels

    msbuildIssues affecting our msbuild tasks/targetsperformanceIf an issue or pull request is related to performancewindows-onlyThe issue only occur on Windows

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions