-
Notifications
You must be signed in to change notification settings - Fork 377
Change Helix Sdk IncludeDotNetCli default to the version used to build #5748
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change Helix Sdk IncludeDotNetCli default to the version used to build #5748
Conversation
| <DotNetCliPackageType Condition=" '$(DotNetCliPackageType)' == '' ">runtime</DotNetCliPackageType> | ||
| <DotNetCliVersion Condition=" '$(DotNetCliVersion)' == '' AND '$(DotNetCliPackageType)' == 'runtime' ">2.1.5</DotNetCliVersion> | ||
| <DotNetCliVersion Condition=" '$(DotNetCliVersion)' == '' AND '$(DotNetCliPackageType)' == 'sdk' ">2.1.403</DotNetCliVersion> | ||
| <DotNetCliPackageType Condition=" '$(DotNetCliPackageType)' == '' ">sdk</DotNetCliPackageType> |
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.
is changing defaults needed?
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.
I couldn't find any "This is the runtime version for this sdk" in the properties. In order to make this work using the current sdk version as the default I had to switch it to using "sdk" rather than "runtime". That isn't a full break because the sdk can do anything the runtime can do.
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.
There's a $(BundledNETCoreAppPackageVersion) property to get the runtime bundled with the current SDK.
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.
Is that the version that can be passed to dotnet-install.ps1 when installing the runtime? If so I can use that.
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.
Yep! dotnet/runtime uses it as the value of DotNetCliVersion for the CoreCLR Helix test runs.
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.
Done, i've switched the default back to 'runtime' and it chooses the right property based on that.
dougbu
left a comment
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.
Am I correct this won't be validated completely until the change is merged and we update the Arcade versions in dotnet/aspnetcore#23585❔ (Regular validation ring would help only if another repo is already using $(IncludeDotNetCli) and not setting $(DotNetCliVersion).)
|
I validated it locally, and the PR build will use it. |
No description provided.