Skip to content

Use explicit platform versions#23966

Closed
mattleibow wants to merge 1 commit into
mainfrom
dev/platform-versions
Closed

Use explicit platform versions#23966
mattleibow wants to merge 1 commit into
mainfrom
dev/platform-versions

Conversation

@mattleibow

@mattleibow mattleibow commented Aug 1, 2024

Copy link
Copy Markdown
Member

Description of Change

This is used to avoid the case where some SDKs bump their platform version and we end up forcing the entire ecosystem to update SDKs.

This just updates the library projects to use explicit versions, all the sample and tests apps still use the unversioned TFMs like a typical dev would.

Probably a better PR that splits the version into old SDK vs new SDK: #23995

@mattleibow mattleibow requested a review from a team as a code owner August 1, 2024 16:02
This is used to avoid the case where some SDKs bump their platform
version and we end up forcing the entire ecosystem to update SDKs.
@mattleibow mattleibow force-pushed the dev/platform-versions branch from f789b83 to ca53e1b Compare August 2, 2024 14:34
Comment thread Directory.Build.props
<TvosTargetFrameworkVersion>16.1</TvosTargetFrameworkVersion>
<MacCatalystTargetFrameworkVersion>16.1</MacCatalystTargetFrameworkVersion>
<MacosTargetFrameworkVersion>13.0</MacosTargetFrameworkVersion>
<AndroidTargetFrameworkVersion>33.0</AndroidTargetFrameworkVersion>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

34 is the default in .NET 8. If you take this to the .NET 9 branch, you'll want to change it to 35.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yeah, that will have to be done.

@mattleibow

Copy link
Copy Markdown
Member Author

Moving this to draft as I think the other PR is better: #23995

But, this one will also work if we need it ASAP and the other PR is failing.

I tested this PR and it seems to work nicely.

@mattleibow mattleibow marked this pull request as draft August 3, 2024 04:19
@mattleibow mattleibow closed this Aug 5, 2024
@mattleibow mattleibow deleted the dev/platform-versions branch August 5, 2024 14:08
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants