basics about app.xaml

Rudolf Meier 271 Reputation points

the "App.xaml"... I've some questions about it

1) do we need it?
2) it it a file that is stored beside the exe? ... always? can I have this inside my exe?
3) ... ms-appx:///App.xaml ... what does that mean? is this some placeholder for... what?

... I think I'll have follow ups... but, for the moment those are the most interesting ones for me.


Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
474 questions
No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Ken Tucker 5,821 Reputation points

    1) Yes we do it runs when the app starts
    2) The file is in the exe


  2. Castorix31 69,256 Reputation points

    It is like WinMain in a C++ Desktop application
    You can see explanations at Application Class
    (with the Note : "The Application main file must be named App.xaml.")