Skip to content

Revert Architecture=* workaround - #17733

Merged
ViktorHofer merged 1 commit into
mainfrom
RevertArchTasksWorkaround
Oct 28, 2026
Merged

ViktorHofer merged 1 commit into
mainfrom
RevertArchTasksWorkaround

Conversation

@ViktorHofer

Copy link
Copy Markdown
Member

@ViktorHofer
ViktorHofer requested review from JanProvaznik, akoeplinger and marcpopMSFT and a balanced review from Copilot October 28, 2026 10:11
@ViktorHofer
ViktorHofer enabled auto-merge (squash) October 28, 2026 10:11

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.

🔵 Needs a closer look

Supported Visual Studio MSBuild hosts are not confirmed to include dotnet/msbuild#13741, and x86 .NET Framework task-host launch remains unvalidated; the .NET SDK pin does not establish desktop-host compatibility.

No open issues 🎉

What changed in this PR

Removes the Architecture="*" workaround associated with dotnet/msbuild#13739 from task registrations across Arcade’s build, test, packaging, and deployment tooling.

Changes:

  • Removes explicit wildcard architecture settings while preserving Runtime="NET", assembly paths, and task factories.
  • Deletes the accompanying workaround TODO comments.
File Description
src/​Microsoft.DotNet.XliffTasks/​build/​Microsoft.DotNet.XliffTasks.targets Removes workaround from localization tasks.
src/​Microsoft.DotNet.SwaggerGenerator/​Microsoft.DotNet.SwaggerGenerator.MSBuild/​build/​Microsoft.DotNet.SwaggerGenerator.MSBuild.targets Removes workaround from Swagger generation.
src/​Microsoft.DotNet.SourceBuild/​tasks/​build/​Microsoft.DotNet.SourceBuild.Tasks.props Removes workaround from source-build tasks.
src/​Microsoft.DotNet.SignTool/​build/​Microsoft.DotNet.SignTool.props Removes workaround from signing.
src/​Microsoft.DotNet.SignCheckTask/​build/​Microsoft.DotNet.SignCheckTask.props Removes workaround from signature verification.
src/​Microsoft.DotNet.SharedFramework.Sdk/​sdk/​BuildTask.props Removes workaround from shared-framework tasks.
src/​Microsoft.DotNet.PackageTesting/​build/​Microsoft.DotNet.PackageTesting.props Removes workaround from package-validation tasks.
src/​Microsoft.DotNet.NuGetRepack/​tasks/​build/​Microsoft.DotNet.NuGetRepack.Tasks.props Removes workaround from package-repacking tasks.
src/​Microsoft.DotNet.Helix/​Sdk/​tools/​Microsoft.DotNet.Helix.Sdk.props Removes workaround from Helix tasks; preserves factories.
src/​Microsoft.DotNet.GenFacades/​build/​Microsoft.DotNet.GenFacades.PartialFacadeSource.targets Removes workaround from partial-facade generation.
src/​Microsoft.DotNet.GenFacades/​build/​Microsoft.DotNet.GenFacades.NotSupported.targets Removes workaround from unsupported-platform assembly generation.
src/​Microsoft.DotNet.GenFacades/​build/​Microsoft.DotNet.GenFacades.ClearVersion.targets Removes workaround from assembly-reference version clearing.
src/​Microsoft.DotNet.GenAPI/​build/​Microsoft.DotNet.GenAPI.targets Removes workaround from reference-source generation.
src/​Microsoft.DotNet.Deployment.Tasks.Links/​build/​Microsoft.DotNet.Deployment.Tasks.Links.props Removes workaround from link-management tasks.
src/​Microsoft.DotNet.CMake.Sdk/​sdk/​ProjectReference.targets Removes workaround from CMake artifact discovery.
src/​Microsoft.DotNet.CMake.Sdk/​build/​Microsoft.DotNet.CMake.Sdk.targets Removes workaround from CMake file API tasks.
src/​Microsoft.DotNet.Build.Tasks.Workloads/​src/​build/​Microsoft.DotNet.Build.Tasks.Workloads.props Removes workaround from workload-generation tasks.
src/​Microsoft.DotNet.Build.Tasks.VisualStudio/​build/​Microsoft.DotNet.Build.Tasks.VisualStudio.props Removes workaround from Visual Studio integration tasks.
src/​Microsoft.DotNet.Build.Tasks.Templating/​src/​build/​Microsoft.DotNet.Build.Tasks.Templating.props Removes workaround from template generation.
src/​Microsoft.DotNet.Build.Tasks.TargetFramework/​src/​buildMultiTargeting/​Microsoft.DotNet.Build.Tasks.TargetFramework.targets Removes workaround from multi-target framework selection.
src/​Microsoft.DotNet.Build.Tasks.TargetFramework/​src/​build/​Microsoft.DotNet.Build.Tasks.TargetFramework.targets Removes workaround from project-reference framework selection.
src/​Microsoft.DotNet.Build.Tasks.TargetFramework/​src/​build/​BinPlace.targets Removes workaround from framework selection for binplacing.
src/​Microsoft.DotNet.Build.Tasks.Packaging/​src/​build/​Packaging.common.targets Removes workaround from packaging tasks.
src/​Microsoft.DotNet.Build.Tasks.Installers/​build/​wix5/​wix.targets Removes workaround from WiX directory harvesting.
src/​Microsoft.DotNet.Build.Tasks.Installers/​build/​installer.props Removes workaround from installer tasks.
src/​Microsoft.DotNet.Build.Tasks.Installers/​build/​bundle.targets Removes workaround from macOS distribution generation.
src/​Microsoft.DotNet.Build.Tasks.Installers/​build/​acquisition/​acquire-wix/​acquire-wix.proj Removes workaround from WiX downloading.
src/​Microsoft.DotNet.Build.Tasks.FileCatalog/​build/​Microsoft.DotNet.Build.Tasks.FileCatalog.props Removes workaround from file-catalog generation.
src/​Microsoft.DotNet.Build.Tasks.Feed/​build/​Microsoft.DotNet.Build.Tasks.Feed.targets Removes workaround from publishing tasks.
src/​Microsoft.DotNet.Arcade.Sdk/​toolset/​VisualStudio.AcquireOptimizationData.targets Removes workaround from optimization-data drop lookup.
src/​Microsoft.DotNet.Arcade.Sdk/​tools/​BuildTasks.props Removes workaround from core Arcade SDK tasks.

Review effort: Balanced

@ViktorHofer
ViktorHofer merged commit 25a7bbd into main Oct 28, 2026
16 of 18 checks passed
@ViktorHofer
ViktorHofer deleted the RevertArchTasksWorkaround branch October 28, 2026 17:06
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Oct 29, 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.

3 participants