I have this working on Linux Mint, but just switched to Ubuntu Lunar and I get this error every single time, no matter how many different versions of wine or winetricks I try. I have also tried the proton runner. I've removed and installed different versions of wine and winetricks but just can't figure this out:
Started initial process 17271 from /home/scott/.local/share/lutris/runtime/winetricks/winetricks --unattended dotnet45
Start monitoring process.
------------------------------------------------------
warning: Your version of wine 5.12-23920-g2ee069136ca is no longer supported upstream. You should upgrade to 7.x
------------------------------------------------------
Using winetricks 20230212-next - sha256sum: cf1e17a69db4126779e597def9facdecbb0703a20ed7172dd877b1f7824d66ec with wine-5.12-23920-g2ee069136ca (Staging) and WINEARCH=win32
Executing w_do_call dotnet45
Executing load_dotnet45
------------------------------------------------------
warning: This package (dotnet45) is broken in wine-5.12-23920-g2ee069136ca. Broken since 5.12. Upgrade to >=5.18. See
https://bugs.winehq.org/show_bug.cgi?id=49532 for more info. Use --force to try anyway.
------------------------------------------------------
Monitored process exited.
Initial process has exited (return code: 25344)
Exit with return code 25344