This documentation is archived and is not being maintained.

How to: Save Temporary Projects

By definition, a temporary project is a project that has not yet been saved. You will be prompted to save a temporary project before you can: close it, add a project to the current solution, add the solution to source control, create a new project or solution, open an existing project or solution, or close Visual Studio. Also, you can choose to save a temporary project at any time while you are working with it.

To save a temporary project

  1. In Solution Explorer, select the solution or project that you want to save.

  2. On the File menu, choose Save or Save As.

  3. In the Save Project dialog box, enter a Name for the project.

  4. Select a save Location.

  5. Select More.

  6. Select Create directory for Solution.

    NoteNote:

    This option is not available for Visual Basic Web or Visual C# Web projects and other directory-based projects. For more information, see Item Management in Projects.

  7. Type a New Solution Name that differs from the project name.

  8. Select Add to Source Control if you want to add the solution to a source control database or repository.

  9. Select OK.

You can save a project item that is in a temporary project at any time while you are working with the temporary project. The project item represents a link to the saved file. If you later save the entire temporary project, that saved item remains a linked file and a copy is not saved in the project folder.

To save an item in a temporary project

  1. In Solution Explorer, select the project item that you want to save.

  2. On the File menu, choose Save <file> As.

  3. Navigate to the folder where you want to save the item.

  4. Enter the File name.

  5. Click Save.

Show: