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
On the File menu, click New Project.
In the New Project dialog box, select Installed Templates, and then select the LightSwitch node.
Select one of the project templates from the center pane.
The right pane displays a description of each project template as you select it.
Type a Name for the new project.
Select a Location where the project will be saved.
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
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.
If you are using a source code control product to store your code, check the Add to source control check box.
Click OK to create the project.
To open an existing project
On the File menu, click Open Project.
In the Open Project dialog box, browse to the location of the project that you want to open, and then click Open.
Click Close Solution to replace the currently open solution, or click Add to Solution to add the new project to the open solution.
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.
See Also
Tasks
How to: Manage Application Settings