.Net 5 Window

Gavin Williams 761 Reputation points
2020-12-06T05:57:20.197+00:00

How can I create a .Net 5 window without Xaml?

Please, no legacy frameworks like Winforms or WPF. I would use UWP, except it has a couple of significant issues ...

  • not easily distributable and not distributable generally.
  • cannot disable Windows overlay such as Titlebar and Taskbar
  • UWP is stuck on C# 7

The first two issues make UWP unsuitable for games and particular kinds of application interface design. Even when UWP and .Net 5 are made to be compatible, only one of these deal-breaking issues is going to be resolved.

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 81,941 Reputation points
    2020-12-06T06:21:29.313+00:00

    Simply with Winforms :

    Winforms-Net5-1.jpg

    Winforms-Net5-2.jpg