diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-08-26 13:18:52 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-08-26 13:19:01 +0200 |
commit | 3d43ffdb5bffbbb69d4f5981140c8a6b8b6eaed6 (patch) | |
tree | 44208c7afce9fa1091185e48f5721697217ba9b9 /core/core_constants.cpp | |
parent | dc4193b478dec409132bf50d90fdb4c6760a109a (diff) |
.NET: Change NETCore.App version detection to use highest match
`libnethost.a` detection failed on my Linux system (Mageia 9, using Fedora 36
dotnet repos), because it used the first match which isn't the one matching
the rest of the SDK:
```
$ dotnet --list-runtimes
Microsoft.AspNetCore.App 3.1.28 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.8 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.28 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.5 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.8 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
```
No idea why I still have 6.0.5 installed but it should pick the highest I guess.
Diffstat (limited to 'core/core_constants.cpp')
0 files changed, 0 insertions, 0 deletions