How to: Create, Open, Save, or Delete a Project

Projects in Visual Studio LightSwitch 2011 are the containers for applications. You can create a project, open an existing project, save changes to a project, or delete a project that you no longer need.

To create a project

  1. On the File menu, click New Project.

  2. In the New Project dialog box, select Installed Templates, and then select the LightSwitch node.

  3. Select one of the project templates from the center pane.

    The right pane displays a description of each project template as you select it.

  4. Type a Name for the new project.

  5. Select a Location where the project will be saved.

  6. In the Solution drop-down list, select Create New Solution to replace the currently open solution, or select Add to Solution to add the new project to the open solution.

    Note Note

    While you can have multiple projects in a solution, each project creates a separate application. In most cases you will want to use the Create New Solution option.

  7. If you are using a source code control product to store your code, check the Add to source control check box.

  8. Click OK to create the project.

To open an existing project

  1. On the File menu, click Open Project.

  2. In the Open Project dialog box, browse to the location of the project that you want to open, and then click Open.

  3. Click Close Solution to replace the currently open solution, or click Add to Solution to add the new project to the open solution.

  4. Click Open to open the project.

To save a project

  • On the File menu, click Save All. The project files are saved to the location that you specified when you created the project.

To delete a project

  • You can delete a project permanently, but not by using LightSwitch. Before you delete a project, save any files that you want to use again in another application. Use Windows Explorer to delete the directory that contains the project files.

Community Additions

ADD
Show: