Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Conversation

@ericstj
Copy link
Member

@ericstj ericstj commented Oct 13, 2021

Backport of dotnet/runtime#60307 and dotnet/arcade#8025 to core-setup/release/3.1

Customer Impact

Customers installing upgrades of .NET 3.1 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.
@ericstj ericstj added the Servicing-approved Approved for servicing release label Oct 13, 2021
@ericstj ericstj merged commit b6ad661 into dotnet:release/3.1 Oct 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Servicing-approved Approved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants