Project structure

The automatically generated solution consists of two projects that contain a few directories, as well as many C# and C++ source files. The managed project is named SpaceAim3D, and its structure is visible in the Solution Explorer window, as shown in the following screenshot.

Tip

The Solution Explorer window is very useful for browsing the project structure, adding a new file, renaming, and removing the existing ones. To open a file in a new tab, double-click on its name. If Solution Explorer is not visible, you can open it by choosing the View and Solution Explorer options from the main menu of IDE.

Project structure

The Properties directory contains files used for configuration of the Windows Phone 8 application, including the WMAppManifest.xml file. It allows to change the application name, image, tiles, capabilities, and requirements.

The References directory indicates additional components that are required by the application, for example, the native part of the game (SpaceAim3DComp). You can also add references to external managed libraries (the DLL files), other projects in the same solution, or even web services.

The Assets directory contains resources (such as bitmaps) that are used by the managed part of the game. They can perform the role of a background of the screen, application image, or tiles. By default, this directory contains a sample application icon and a set of tile images.

The Resources directory contains the AppResources.resx file that is used (together with other .resx files) to create a localized application that supports many languages.

Also, there are some files placed in the main directory. The App.xaml and App.xaml.cs files support many operations regarding the application, provide methods called during various stages of application lifecycle, and make it possible to create resources available across all application pages. The LocalizedStrings.cs file makes it possible to access localized resources. The MainPage.xaml and MainPage.xaml.cs files are related to the automatically generated screen of the game with a rotating cube.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.93.222