Before you create a program, talk about environment configuration issues.
First, VS2013 needs to be upgraded to Update2 or later (the latest is the UPDATE4 version) because the later version is used for mobile
Device Development SDK and other corresponding components.
Second, need computer system for win8.1 Professional Edition or above, My computer is win8.1 Chinese version, used to test the program of virtual machine can use,
But in the writing UI interface designer can not load, after reviewing the material, found that win8.1 Chinese version of the missing Hyper-V virtual components, upgrade to the professional version,
Problem solving.
(Spit slot, install vs or upgrade vs too wasted time AH)
In the top left corner, click File->visual c#->store apps->windows phones Apps named App10
View right file structure
Assets the resources required to store some items in the folder
The referenced third-party class library is stored in the reference
App.xaml is the layout interface
The program configuration file is written in the Appxmanifest
Double click to open App.xaml:
The middle part is a XAML file, the left side is the interface design, you can drag the controls, and I'm using the VS tool blend (tools designed for the design interface)
After opening:
From the left-hand toolbox, drag the button and fill it with red in the lower-right corner, double-click the button to modify the text
After the modification is complete, save, and the designer in VS changes the style:
Finally open the emulator, run the program:
Click App10:
Run successfully
First Windows Phone program (one)