-
Notifications
You must be signed in to change notification settings - Fork 347
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
Move nuget from version 6.4.2 to 6.4.3 #14509
Conversation
Test failure needs investigation. Closing this PR and moving the issue to the backlog, it will need to be picked up by someone else. |
… are caused by this setting or by some kind of issue with the version of the SDK actually downloaded. If the issue is with the actual SDK install operation then it is expected that the 7.0.116 version of the SDK will not exist and we should see a different type of failure message like directory not found.
NOTE: When the value is hard coded all test for the CI build passed. However, I don't believe we should be hard coding this value to address the build breaks and should instead discover where the incorrect 8.0 value settings are coming from.
Forcing the value of DotNetCliVersion to be empty to see how the system behaves if valid package type is set or there is no known version information for the package type parameter is passed in. The expectation is having a empty value will result in some kind of null reference error when trying to access .Net Core SDK data. If the value does not control the actual SDK install and or use it will also let us know if the version test script that is failing is doing a simple string comparison as opposed to examining the actual SDK being used. If it IS doing a simple string comparison the expectation is that the output of the failure will not show an empty value for the current .Net CORE SDK in the mismatch error rather than SDK version that is actually installed.
…t trigger an automatic CI build.
Hard Coding DotNetCliVersion for SDK package types to '7.0.116'. Because hard coding the value for RUNTIM package types failed with the same version mismatch error the expectation is that this CI build should pass all tests, which will confirm that the root issue is the passed in value for NETCoreSdkVersion.
…Type is set to SDK to restore the DotNetCli.props file to its original state. Based on the tests performed the bad .Net Core SDK state occurs when the this props file is used with the DotNetCliPackageType set to SDK and NETCoreSdkVersion set to 8.0.200.
… for SDK packages per guidance from Christopher Costa
global.json
Outdated
@@ -1,4 +1,8 @@ | |||
{ | |||
"sdk": { | |||
"version": "7.0.116", | |||
"rollForward": "disable" |
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.
nit, to be more consistent w/ at least release/6.0 (where we've avoided this issue):
"rollForward": "disable" | |
"rollForward": "latestFeature" |
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 also suggest porting this update to release/8.0 and main. we'll be scratching our heads again too soon otherwise
…be consistent with other branch settings based on guidance from Christopher Costa.
🚢 |
Validated with https://dev.azure.com/dnceng/internal/_build/results?buildId=2385899&view=results
Fixes dotnet/dnceng#2022
To double check: