Skip to content

[mono] Fix hardcoded .NET 8.0 string in iOS sample - #103117

Merged
akoeplinger merged 1 commit into
dotnet:mainfrom
akoeplinger:fix-string
Jun 6, 2024
Merged

[mono] Fix hardcoded .NET 8.0 string in iOS sample#103117
akoeplinger merged 1 commit into
dotnet:mainfrom
akoeplinger:fix-string

Conversation

@akoeplinger

Copy link
Copy Markdown
Member

We always forget updating this string with new .NET releases so let's just not mention the version.

We always forget updating this string with new .NET releases so let's just not mention the version.
@akoeplinger

Copy link
Copy Markdown
Member Author

/ba-g failures are unrelated

@akoeplinger
akoeplinger merged commit 7db9cef into dotnet:main Jun 6, 2024
@akoeplinger
akoeplinger deleted the fix-string branch June 6, 2024 14:03
@TonyValenti

Copy link
Copy Markdown

You could also output the actual runtime version instead of a constant string. I think it is something like System.Evvironment.Version.

@akoeplinger

Copy link
Copy Markdown
Member Author

@TonyValenti true but that'd involve more code that can potentially fail and the point of the sample is to be small.

@github-actions github-actions Bot locked and limited conversation to collaborators Jul 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants