In this article we are going to see how to develop your first Windows Phone 8 Application using the all new Visual Studio 2012 IDE. Before proceeding further I would suggest you to have a glance at the previous article on the Requirements that should be taken care to start developing the Windows Phone Application. So our task today is creating a Windows Phone 8 application and running it on the emulator that is installed along with the Windows Phone 8 SDK.
So let us see the steps on how to achieve this task, first Open Visual Studio 2012 IDE in administrator mode and select File then New Project to select the type of project for developing our Windows Phone application as shown in the screen below.
Now let us select a basic template (Which is Windows Phone App in Visual C#) and provide a valid Name of the application, Location to which the project files need to be saved and the Solution Name in the respective fields of the Wizard as shown in the screen below.
Clicking on OK will show a small pop up with the list of available and installed Windows Phone SDKÃ¢â‚¬â„¢s that will be listed. Prior to Windows Phone 8 SDK we had Windows Phone 7, Windows Phone 7.1 SDKs available in the Market. If the SDKÃ¢â‚¬â„¢s are installed in the development machine then it will be listed in the Popup as shown in the screen below. Here in our sample we will select Windows Phone 8 SDK and click ok to proceed further.
Clicking on OK will create the application and we can see a list of default files will be added to the Solution Explorer as shown in the screen below. These files will be created while selecting this basic template, if we proceed with some other template then we can see a different set of templates that will be listed in the Solution Explorer of that project.
Let us run the application directly pressing F5 from the keyboard or using the Build and Execute option from the Tool bar and we can see the application opens in a Windows Phone Emulator as shown in the screen below. As of now we will take the work Emulator as a Virtual Environment to run the Windows Phone application, we will see in detail on what an Emulator is and the uses of it in the upcoming articles.
So our application is running perfectly in the emulator, now in real time once our development is done we can proceed with publishing the application to the Market place which we will see at the end of this series. Hope this article of some use to your learning, keep looking into http://www.dotnetspark.com/ to get complete idea on Windows Phone Application development.