-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Update handling of SelfContained and RuntimeIdentifier properties when specified on the command line #21986
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
Merged
dsplaisted
merged 12 commits into
dotnet:release/7.0.1xx-rc1
from
dsplaisted:selfcontained-flow
Aug 22, 2022
Merged
Update handling of SelfContained and RuntimeIdentifier properties when specified on the command line #21986
Changes from 1 commit
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
5c8503a
Improve handling of RuntimeIdentifier and SelfContained across projec…
dsplaisted 5f4ba10
Add test for SelfContained flowing across project reference
dsplaisted 63ae00b
Move AcceptsRuntimeIdentifier logic and exclude test projects
dsplaisted bf9b7a3
Add breaking change information
dsplaisted 45f8979
Detect whether SelfContained is a global property inside task
dsplaisted 117a1c9
Handle consuming AcceptsRuntimeIdentifier metadata from multi-targete…
dsplaisted 26df179
Use IsRidAgnostic instead of AcceptsRuntimeIdentifier
dsplaisted 579ad7f
Handle more cases of global property flow
dsplaisted 4468b0b
Add tests for global property flow across project references
dsplaisted 8a303dd
Code review feedback
dsplaisted 27fe291
Require updated MSBuild for global property flow tests
dsplaisted 4d634e9
Fix tests
dsplaisted File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Move AcceptsRuntimeIdentifier logic and exclude test projects
- Loading branch information
commit 63ae00b1af54cc74a8d1dd7b426e2b783e0d6911
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Does this imply that if the project has any RID, we'll flow the RID from the entrypoint? Is that what we want? What if e.g. the entry-point is
win11-x64and the reference iswin7-x86? That seems like an OK combination to me . . .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.
Yes, we will flow any RID. Most of this is existing logic, ie if
RuntimeIdentifierorRuntimeIdentifierswas set in the referenced project, we would have flowed the RID since .NET Core 1.0 I think. The change here is to also flow it if the referenced project is an Exe project, but not if it's a test project.