Skip to content

Conversation

@cormacpayne
Copy link
Contributor

Currently, only runtime versions can be provided to the --platform-version argument for oryx build, preventing users from specifying a specific version of the .NET SDK they'd like to build with (instead they'd need to know the corresponding runtime version shipped with the SDK version they want to use).

This PR cleans up the logic around the version that can be provided and detected to account for SDK versions, while still respecting the runtime version logic we currently have in place.

  • The purpose of this PR is explained in this message or in an issue. If an issue please include a reference as #<issue_number>.
  • Tests are included and/or updated for code changes.
    - [ ] Proper license headers are included in each file.

@cormacpayne cormacpayne requested a review from a team as a code owner November 1, 2023 17:50
return defaultVersion;
}

private bool TryGetExplicitVersion(out string explicitVersion)
Copy link
Contributor

Choose a reason for hiding this comment

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

Was this one just never used?

@daniv-msft
Copy link
Contributor

@cormacpayne Overall looks good to me, but I would prefer not to push it before .NET 8 GA. Do you see any urgency in getting this one in?

william-msft
william-msft previously approved these changes Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants