For Win 7, you can easily compile with .NET core 6 and Avalonia framework for .NET core 6.
I have tested it and it works :)