You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Depending on the contents of C:\Program Files\dotnet\host\fxr (or wherever the dotnet root is), clr_loader might pick up an older version of hostfxr based on the logic in def load_hostfxr(dotnet_root: Path)
e.g. if the contents of the folder are
2.1.7
3.1.26
5.0.5
5.0.17
then it doesn't pick up 5.0.17, but picks up 5.0.5 because Python's lexicographic sort will order the folder as ['2.1.7', '3.1.26', '5.0.17', '5.0.5'].
This is admittedly very minor, but we just ran into this and wanted to give a heads up :)
Thank you!
The text was updated successfully, but these errors were encountered:
Environment
Details
Depending on the contents of
C:\Program Files\dotnet\host\fxr
(or wherever the dotnet root is), clr_loader might pick up an older version of hostfxr based on the logic indef load_hostfxr(dotnet_root: Path)
e.g. if the contents of the folder are
then it doesn't pick up 5.0.17, but picks up 5.0.5 because Python's lexicographic sort will order the folder as
['2.1.7', '3.1.26', '5.0.17', '5.0.5']
.This is admittedly very minor, but we just ran into this and wanted to give a heads up :)
Thank you!
The text was updated successfully, but these errors were encountered: