Programmatically way to Bootstrap Windows Platform in pure C# #8413
Labels
area-core-hosting
Extensions / Hosting / AppBuilder / Startup
blocked
Work that is currently blocked
partner/winui
WinUI / Project Reunion
partner
Issue or Request from a partner team
platform/windows 🪟
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Description
Is there any reliable way to programmatically bootstrap the .NET MAUI windows platform in pure C# without using XAML?
By default, the bootstrap code for the Windows platform uses
App.xaml
and the code behindApp.xaml.cs
.The goal is to learn the bootstrap to initialize the Application in pure C# because I want to use a different programming language and avoid XAML dependencies, initially for proof of concept.
Steps to Reproduce
Git branch with the existing code
To reproduce
App.xaml
andApp.xaml.cs
.App.cs
with the following code.
Expected: Windows bootstrap initialization
Actual output: compile error.
Version with bug
6.0.400 (current)
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Windows
Did you find any workaround?
No response
Relevant log output
Depends on
The text was updated successfully, but these errors were encountered: