To create a new Windows application in Visual Studio, complete the following steps:
- From the File menu in Microsoft Visual Studio, select New | Project. The New Project dialog box opens.
- Expand the Templates node in the left pane. For ComponentOne Studio projects, you can use Visual C# or Visual Basic.
- Under the Visual C# or Visual Basic language node, select Store Apps. The list of WinRT-style templates will now appear in the center pane.
- Select the Windows Apps | Blank App (Windows) template.
- Give your project a name and click OK. The new project will open.
You've now created a new WinRT-style application. Note the MainPage.xaml file may not open automatically, and you may need to select it in the Solution Explorer.