Minimal application for Windows 8 C ++ XAML?

If I used "creating an empty C ++ XAML application" in Visual Studio 2012 Express, the created project has 18 files with more than 25 kilobytes of source code. Looking at this code, it’s hard to separate what is required for a Windows 8 application and what is written just because the application manager recently read some “best practice examples for enterprise leviathan applications” :).

So, maybe someone knows what is the source code of a minimal working C ++ XAML Windows 8 application that can be compiled with msbuild and displays a hello world window?

+8
windows-8
source share
1 answer

Well, I can tell you that C #, the folder structure should be similar to C ++.

  • Required : Properties → contains assembly information.
  • Required : Links → Holds the necessary frameworks for the metro and .NET.
  • Not necessary? : Assets → Holds images and screensaver icons. If you find them, I think you can remove them.
  • Optional? : Normal → Maintains standard XAML styles. I suggest that if you do not need to use them, you can delete them.
  • Mandatory : App.xaml → Handles the launch and management of the W8 application.

Tell me if you can see any of these files in your C ++ project.

+2
source share

All Articles