Almost all WP7 documents start with the files in the Project template. The following describes the content.
For example, the following project file:
Appmanifest. xml
Generate a simple application list file required by the application installation package (xap.
Assemblyinfo. CS
Configuration file, which contains the name and version metadata, will be embedded into the generated Assembly file. Modify the version information here.
Wmappmanifest. xml
Another metadata file that contains the specific data of the application, including the title, icon location, and functions. In addition, the starting page of the program is also defined here.
Assemblyinfo. CS
Configuration file, which contains the name and version metadata, will be embedded into the generated Assembly file. Modify the version information here.
Wmappmanifest. xml
Another metadata file that contains the specific data of the application, including the title, icon location, and functions.
App. XAML/APP. XAML. CSDefine the entry point of the application, initialize resources within the application range, and display the application user interface. App. XAML is similar to Web. config in ASP. NET and stores the data and settings used by the entire application. You can define a resource for reference on other pages. Generally, you can place the style and Uri aliases in <application. Resources> </application. Resources>. App. XAML. the CS file mainly serves to initialize and handle exceptions, and defines four important events (run, close, activate, and deactivated ), these four events need to be modified when necessary.
Mainpage. XAML/mainpage. XAML. CSDefine the application page (page with user interface) in the application ). This is the first page of the application. The application starts from this page. (Of course, you can modify it in wmappmanifest. XML)
Applicationicon.png
An image file with icons represents the icons of applications in the mobile app list. This is an icon displayed in the Software List, which is smaller than that displayed on the start page.
Background.png
When the application is fixed to the start page, the icon is displayed.
Splashscreenimage.jpg
This image is displayed when the application is started. The startup screen will give you an immediate feedback, telling the user that the application is starting until it is successfully redirected to the first page of the application. The user's startup screen can be very similar to the design of a page of the application, so that the application can be quickly loaded. It can be modified, but pay attention to the size.
References folderLists of database files (sets) to provide functions and services for application work.
Finally, you must modify the WP configuration file instead of modifying the properties of the project to prevent errors. For example: