https://bugs.winehq.org/show_bug.cgi?id=55544
Ethan Lee flibitijibibo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |flibitijibibo@gmail.com
--- Comment #3 from Ethan Lee flibitijibibo@gmail.com --- Ran into this with .NET 8 and Wine 9.15, with Fedora's dotnet8 packages installed... Fedora's packages happen to move the runtime root away from the Linux default, so that's probably why DOTNET_ROOT was defined at all!
I would assume that the runtime installers either don't set ever the variable themselves, or it checks to see if it's already set to avoid breaking existing environments.
Either way, it's probably a good idea to filter these out similarly to other cross-platform variables like SDL_VIDEODRIVER to avoid Linux-native settings sneakily getting in the way here.