tgstation / Tgstation.Server.ControlPanel

Official client for tgstation-server
GNU General Public License v3.0
7 stars 11 forks source link

Migrate to .NET 5.0 + Update to Avalonia 0.10 #68

Closed bobbah closed 3 years ago

bobbah commented 3 years ago

Migrates the application to .NET 5.0, and updates Avalonia from 0.9.12 to 0.10.0

Note that in migrating to Avalonia 0.10, I've also gone ahead and attempted to implement the new application lifetime pattern, as the old method of using Start<T> was deprecated. As a result, Tgstation.Server.ControlPanel.ControlPanel.Run(...) was killed in the process, as it no longer fit the new model, but let me know if this was a bad move or if there is a better way of doing it.

Admittedly I just wanted to update the package but I had build errors and warnings screaming at me.

Best wishes, bobbah 'bee' brown

bobbah commented 3 years ago

Also it seemed like UseDirect2D1() may have been deprecated as well but I couldn't find any documentation specifying this; I also wasn't entirely sure what its purpose was so maybe Cyberboss could fill me in there.

bobbah commented 3 years ago

WAIT hold on dont merge this yet i just realized theres a bit of some BINDING ERRORS that i have to investigate

bobbah commented 3 years ago

disregard the above those errors also exist in current master, this is ready for merge if @Cyberboss is ok with the changes.