Skip to content

Conversation

@ericstj
Copy link
Member

@ericstj ericstj commented Oct 13, 2021

Backport of #60307 to release/5.0
Requires dotnet/arcade#8029

Customer Impact

Customers installing upgrades of .NET 5.0 observe the entry for dotnet will move to the end of the PATH variable, often resulting in x86 dotnet being first and winning.

Testing

Manual build of host and upgrade testing. I've tested upgrade scenarios where 5.0 x86 + x64 is installed. Upgrade to 6.0 x64 without the fix will move x64 PATH to end. Once fix is in place we don't move PATH entry.

Risk

Low. This doesn't change installer behavior like some of the other options we considered. The change is scoped to only the host MSI

This should preserve the ordering of PATH, since the old MSI will never
remove its entry.
@ghost
Copy link

ghost commented Oct 13, 2021

Tagging subscribers to this area: @Anipik, @safern, @ViktorHofer
See info in area-owners.md if you want to be subscribed.

Issue Details

Backport of #60307 to release/5.0
Requires dotnet/arcade#8029

Customer Impact

Customers installing upgrades of .NET 6.0 observe the entry for dotnet will move to the end of the PATH variable, often resulting in x86 dotnet being first and winning.

Testing

Manual build of host and upgrade testing. I've tested upgrade scenarios where 5.0 x86 + x64 is installed. Upgrade to 6.0 x64 without the fix will move x64 PATH to end. Once fix is in place we don't move PATH entry.

Risk

Low. This doesn't change installer behavior like some of the other options we considered. The change is scoped to only the host MSI

Author: ericstj
Assignees: -
Labels:

area-Infrastructure-libraries

Milestone: -

@Anipik
Copy link
Contributor

Anipik commented Oct 13, 2021

The drawing test failures are fixed by #60201

@Anipik Anipik merged commit b924deb into dotnet:release/5.0 Oct 13, 2021
@Anipik
Copy link
Contributor

Anipik commented Oct 13, 2021

I think @ericstj i jumped the gun here as there were no failures related to the change. I will keep a look out for the arcade update pr. Hopefully i didnt cause any hiccup here.

@ericstj
Copy link
Member Author

ericstj commented Oct 13, 2021

That's ok. This was approved over mail. We need to merge all the others and flow arcade.

@ghost ghost locked as resolved and limited conversation to collaborators Nov 12, 2021
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