basics about app.xaml

Rudolf Meier 291 Reputation points
2022-02-14T23:25:19.377+00:00

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.

Rudolf

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.
780 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Ken Tucker 5,851 Reputation points
    2022-02-14T23:48:53.043+00:00

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

    3) https://learn.microsoft.com/en-us/windows/uwp/app-resources/uri-schemes


  2. Castorix31 84,471 Reputation points
    2022-02-15T06:48:33.38+00:00

    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.")


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.