I’m wondering is there any way using tooling of todays .NET for compiling app to single exe? Couple years ago when I read about .Net Native it was promising for compilation that gives all necessary code in app without .net framework and using some tree shaking mechanism compile to single file with only the code that is actually used by application. Is this actually doable now? I now that WPF and Winforms are coming in .NET core 3.0 but is this possible to create such application in UWP?
Yes, this has been supported in UWP for a while. In VS, check this box to compile everything into one big binary: