Skip to content

[Windows build perf] _BeforeUnpackLibraryResources runs Delete for each file #23440

@emaf

Description

@emaf

Apple platform

iOS

Framework version

net10.0-*

Affected platform version

VS 2022 17.14

Description

The _BeforeUnpackLibraryResources target is executing the Delete multiple times (for each file) instead of calling it once with all the files that need to be deleted. This incurrs in a performance penalty when executing it remotely from Windows.

Steps to Reproduce

Image

Did you find any workaround?

No response

Build logs

No response

Metadata

Metadata

Assignees

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
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions