Creating a Sample Project
After you've installed Visual Studio 2012 Update 2, you're ready to start building HTML5 apps with Visual Studio LightSwitch.
Selecting File > New Project in Visual Studio 2012 gives you two options (see Figure 2):
- Creating a LightSwitch application. This option starts adding a Silverlight desktop client to the project—this is the project template you've been using to this point. Choose this template if you need to create a solution with both clients. You can add the HTML client later by right-clicking the project name in Solution Explorer and selecting Add Client. You'll also use this command if you want to add the HTML client to an existing solution.
- Creating a LightSwitch HTML application. Choose this option if you want to start a new HTML-based application without the Silverlight client (this can eventually be added with the steps described above).
Figure 2 Creating a new project based on the HTML client.
When the new project is ready, LightSwitch asks you to specify your data as the first task. The next section describes this process.