Skip to content

migrate ResolveStaticWebAssetsEmbeddedProjectConfiguration#54885

Merged
AlesProkop merged 1 commit into
dotnet:mainfrom
AlesProkop:migrate-resolve-static-web-assets-embedded-project-configuration
Jun 22, 2026
Merged

migrate ResolveStaticWebAssetsEmbeddedProjectConfiguration#54885
AlesProkop merged 1 commit into
dotnet:mainfrom
AlesProkop:migrate-resolve-static-web-assets-embedded-project-configuration

Conversation

@AlesProkop

Copy link
Copy Markdown
Member

Fixes dotnet/msbuild#14062

Context

ResolveStaticWebAssetsEmbeddedProjectConfiguration can run under MSBuild's multithreaded task scheduler because it only transforms task item metadata in memory and does not use file I/O, environment state, process state, or current-directory-dependent APIs.

Changes Made

  • Added [MSBuildMultiThreadableTask] to ResolveStaticWebAssetsEmbeddedProjectConfiguration.

Testing

  • Built src/StaticWebAssetsSdk/Tasks/Microsoft.NET.Sdk.StaticWebAssets.Tasks.csproj — succeeded.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR marks ResolveStaticWebAssetsEmbeddedProjectConfiguration as safe to run under MSBuild’s multithreaded task scheduler by adding the [MSBuildMultiThreadableTask] attribute, aligning it with other metadata-only Static Web Assets tasks.

Changes:

  • Added [MSBuildMultiThreadableTask] to ResolveStaticWebAssetsEmbeddedProjectConfiguration.

@jankratochvilcz jankratochvilcz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@OvesN OvesN left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@AlesProkop AlesProkop merged commit b489ab2 into dotnet:main Jun 22, 2026
26 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-preview6 milestone Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Multithreaded] Migrate ResolveStaticWebAssetsEmbeddedProjectConfiguration in SDK

4 participants