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.
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add spec for platform exclusion #143
Add spec for platform exclusion #143
Changes from all commits
a434970
873a021
c1a259c
d44ff81
930970e
4bba51d
3321a64
2aa70d1
071dfd6
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Looking at dotnet/sdk#12547, we already have an MSBuild item named
SupportedTargetPlatform
. Are we intending this to be the same thing as that? If not, these names are too similar to both be used.cc @dsplaisted @sfoslund
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.
Right now we're using
SupportedTargetPlatform
as an itemgroup containing the supportedTargetPlatformVersion
s that correspond to the specifiedTargetPlatformIdentifier
.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.
So no then 😄 . Your notion of supported is "what can this SDK produce" while mine is "what platforms is the author of this project file intending to support". We probably need a different name then.
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.
Should we rename the SDK itemgroup then? I think the name
SupportedTargetPlatform
sounds like it is what target platforms the current project supports, not necessarily what the SDK supports.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.
@dsplaisted were should I file a bug to discuss renaming the SDK's
SupportedTargetPlatform
item group?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.
In dotnet/sdk.
Note that there was already a
SupportedTargetFramework
item which we use to populate the TargetFramework dropdown on the VS property page, so we went with the same pattern forSupportedTargetPlatform
.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.
Makes sense. In that sense I think we should come up with a new name for the analyzer. Let me chew on that.