Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

elinor-fung
Copy link
Member

We process the project's framework references to determine the known RID platforms for the corresponding target framework. In the case where there are no framework references - for example, when we are building the runtime framework itself - we don't have the list of known RID platforms.

This makes the SDK check for the valid RID platforms and potentially fire NETSDK1206 only if we have a list of known platforms for the target framework.

Fixes #34003

@elinor-fung elinor-fung requested a review from dsplaisted July 14, 2023 15:49
@ghost ghost added Area-ILLink untriaged Request triage from a team member labels Jul 14, 2023
@elinor-fung
Copy link
Member Author

@dsplaisted could you take a look?

Copy link
Member

@dsplaisted dsplaisted left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

Is there a simple project which repros the issue which could be used to add a test?

@elinor-fung elinor-fung merged commit 0ea5a13 into dotnet:main Aug 11, 2023
@elinor-fung elinor-fung deleted the issue34003 branch August 11, 2023 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-NetSDK untriaged Request triage from a team member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NETSDK1206 warns on platforms that should be vaild when project has no FrameworkReference
2 participants