-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
dotnet --info reports duplicates of paths #59833
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
The same repros in GA. Looks like MSI appends a trailing slash to all directory properties and I don't see a good way to trim it, short of a custom action. One possible fix is to normalize these paths by stripping the slash. Looks like that is already done for the runtime/src/native/corehost/hostmisc/utils.cpp Lines 294 to 313 in db1b302
|
Tagging subscribers to this area: @vitek-karas, @agocke, @VSadov Issue DetailsDescriptionRun Expect: one instance of each path
Configuration
Regression?Yes, previous RC1. This is caused by this: dotnet/installer#11843 This might be different in GA, since we changed how those keys are written again with a7e9f9f Need to test GA to see if we should try to change this in the installer or deal with it in the host.
|
This is going to be a rather visible bug on Windows. Everyone will hit it (not just ARM64). I recommend we take it for for 6.0. The fix should be very low risk. |
@mateoatr Could you take a look? |
The fix for this looks low, but not zero risk: https://github.com/dotnet/runtime/pull/59890/files Unfortunately, the window for runtime changes is basically closed (and has been for a bit). I think we take this for servicing or not at all. |
Reopening for 6.0 consideration. |
|
The change probably didn't make it into dotnet/installer - the SDK -> installer integration has been stuck for a few days: dotnet/installer#12361 |
Note that the fix for this was approved for both 3.1 and 5.0, however it was after the builds for the November release were complete. |
Description
Run
dotnet --info
Expect: one instance of each path
Actual: duplicate paths for every entry
Configuration
Regression?
Yes, previous RC1.
This is caused by this: dotnet/installer#11843
Previously the bundle would set these properties without trailing slash: https://github.com/dotnet/installer/pull/11843/files#diff-42255eeced0cb7937c40024646092ce85055a361283ed45dec27adbab7996905L124
It was hardcoding the values here, which we had to remove because it couldn't get it right, nor could we calculate it.
This might be different in GA, since we changed how those keys are written again with a7e9f9f
Need to test GA to see if we should try to change this in the installer or deal with it in the host.
The text was updated successfully, but these errors were encountered: