Standalone WinUI C++ or with XAML anyway #3359
-
Hello, I'm interested in C++ GUI but the default option to create C++ GUI in Visual Studio is really worse (longer to update and implement new stuff) while WinUI for example use XAML so I seen you can completely export as normal executable but it does give a lot of DLLs and Folders next to it, I wonder if it's possible to achieve the same but with a standalone executable Because the really minimal I can go to is this.. Regards. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
To put it simply, no. |
Beta Was this translation helpful? Give feedback.
-
If you are willing to use the older builtin XAML layer with XAML islands, you can get pretty small with C++, but still not single file. |
Beta Was this translation helpful? Give feedback.
To put it simply, no.
The Windows App SDK isn't a standard part of Windows, this means you need the redistributable to run. The Windows App SDK doesn't provide static libraries, this means that you can't combine everything into a single executable.
This is actually why relying on the Windows App SDK framework package is the preferred option right now.