Skip to content

TargetRid, TargetArchitecture and TargetOS should always be passed to repo projects #4313

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
akoeplinger opened this issue Apr 10, 2024 · 3 comments · Fixed by dotnet/sdk#48024

Comments

@akoeplinger
Copy link
Member

https://dev.azure.com/dnceng/internal/_build/results?buildId=2426882&view=results

There's multiple issues:

  1. wpf in the "Windows x64" job is building x86 assets
  2. windowsdesktop builds x64 assets in the "Windows x86" job

We're not passing TargetArchitecture to the repo builds for these projects, we should do so. @ViktorHofer suggested we should probably always pass TargetOS and TargetArchitecture.

Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@akoeplinger
Copy link
Member Author

wpf also doesn't look at TargetArchitecture, it only uses Platform right now: #4314

@ViktorHofer
Copy link
Member

While ideally all repos use that common set of inputs that presumably requires more work and some more standardization in the Arcade SDK and scripts. Meanwhile for WPF we could just set the Platform property in wpf.proj in the VMR orchestrator.

@ViktorHofer ViktorHofer changed the title TargetArchitecture and TargetOS should always be passed to repo projects TargetRid, TargetArchitecture and TargetOS should always be passed to repo projects Mar 30, 2025
ViktorHofer added a commit to dotnet/sdk that referenced this issue Mar 31, 2025
Fixes dotnet/source-build#4313

Now especially necessary as the RID specific publishing mode depends on TargetArchitecture being available in the inner repo build.
@github-project-automation github-project-automation bot moved this from Backlog to Done in .NET Source Build Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants