-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Use TargetArchitecture and TargetRid properties #47977
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
Use TargetArchitecture and TargetRid properties #47977
Conversation
Fixes #47950 Architecture -> TargetArchitecture Rid -> TargetRid Unrelated changes: - Remove unused CLIBUILD_SKIP_TESTS property / env var - Consolidate PublishVersionFile and GenerateVersionFile targets
There was a problem hiding this comment.
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 renames pipeline properties from Architecture to TargetArchitecture and from Rid to TargetRid while removing an unused property and consolidating version file targets.
- Renames property references in SDK job and build pipeline templates.
- Updates command-line parameters for MSBuild to use the new property names.
- Removes references to the unused CLIBUILD_SKIP_TESTS property in the CI pipeline.
Reviewed Changes
Copilot reviewed 3 out of 13 changed files in this pull request and generated no comments.
File | Description |
---|---|
eng/pipelines/templates/jobs/sdk-job-matrix.yml | Updated property name from buildArchitecture to targetArchitecture |
eng/pipelines/templates/jobs/sdk-build.yml | Replaced buildArchitecture and Rid with targetArchitecture and TargetRid in names and command-line arguments |
.vsts-ci.yml | Removed unused CLIBUILD_SKIP_TESTS property from publishArgument |
Files not reviewed (10)
- Directory.Build.props: Language not supported
- eng/Badge.proj: Language not supported
- eng/Build.props: Language not supported
- src/Layout/Directory.Build.props: Language not supported
- src/Layout/pkg/dotnet-sdk.proj: Language not supported
- src/Layout/redist/targets/GenerateBundledVersions.targets: Language not supported
- src/Layout/redist/targets/GenerateLayout.targets: Language not supported
- src/Layout/redist/targets/RestoreLayout.targets: Language not supported
- src/Layout/redist/tools/tool_fsc.csproj: Language not supported
- src/SourceBuild/content/repo-projects/sdk.proj: Language not supported
This one is now ready |
-Switching to using dotnet/dotnet repository for SDK versions greater than 10.0.0-preview.4 -Updated the source for dependent repository commits: now retrieved from src/manifest.json instead of productCommit-linux-x64.txt. Changes in dotnet-build: - The build parameter /p:MicrosoftNETCoreAppRuntimeVersion in build_aspnetcore has been changed to /p:MicrosoftNETCoreAppRefVersion. Refer to the supporting pr:dotnet/aspnetcore#61860 - The build parameter /p:Architecture in build_sdk has been renamed to /p:TargetArchitecture. Refer to the pr: dotnet/sdk#47977 - The architecture specific property values has been changed in build_sdk Refer to pr: dotnet/sdk#49017
-Switching to using dotnet/dotnet repository for SDK versions greater than 10.0.0-preview.4 -Updated the source for dependent repository commits: now retrieved from src/manifest.json instead of productCommit-linux-x64.txt. Changes in dotnet-build: - The build parameter /p:MicrosoftNETCoreAppRuntimeVersion in build_aspnetcore has been changed to /p:MicrosoftNETCoreAppRefVersion. Refer to the supporting pr:dotnet/aspnetcore#61860 - The build parameter /p:Architecture in build_sdk has been renamed to /p:TargetArchitecture. Refer to the pr: dotnet/sdk#47977 - The architecture specific property values has been changed in build_sdk Refer to pr: dotnet/sdk#49017 Signed-off-by: shreya <[email protected]>
-Switching to using dotnet/dotnet repository for SDK versions greater than 10.0.0-preview.4 -Updated the source for dependent repository commits: now retrieved from src/manifest.json instead of productCommit-linux-x64.txt. Changes in dotnet-build: - The build parameter /p:MicrosoftNETCoreAppRuntimeVersion in build_aspnetcore has been changed to /p:MicrosoftNETCoreAppRefVersion. Refer to the supporting pr:dotnet/aspnetcore#61860 - The build parameter /p:Architecture in build_sdk has been renamed to /p:TargetArchitecture. Refer to the pr: dotnet/sdk#47977 - The architecture specific property values has been changed in build_sdk Refer to pr: dotnet/sdk#49017 Signed-off-by: shreya <[email protected]>
-Switching to using dotnet/dotnet repository for SDK versions greater than 10.0.0-preview.4 -Updated the source for dependent repository commits: now retrieved from src/manifest.json instead of productCommit-linux-x64.txt. Changes in dotnet-build: - The build parameter /p:MicrosoftNETCoreAppRuntimeVersion in build_aspnetcore has been changed to /p:MicrosoftNETCoreAppRefVersion. Refer to the supporting pr:dotnet/aspnetcore#61860 - The build parameter /p:Architecture in build_sdk has been renamed to /p:TargetArchitecture. Refer to the pr: dotnet/sdk#47977 - The architecture specific property values has been changed in build_sdk Refer to pr: dotnet/sdk#49017 Signed-off-by: shreya <[email protected]>
Fixes #47950
By renaming
Architecture
toTargetArchitecture
, the RID specific publishing logic works correctly.Architecture -> TargetArchitecture
Rid -> TargetRid
Unrelated changes: