Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Temporary Projects

By working with temporary projects, you can create and experiment with a project without specifying a disk location. When you create a project, you just select a project type and template and specify a name in the New Project dialog box. At any time while you are working with the temporary project, you can save it, or you can discard it.

All Visual Basic and Visual C# projects can be created as temporary projects. If you want to work with temporary projects, in the Options\Projects and Solutions\General dialog box, clear the Save new projects when created check box. For more information, see Creating Solutions and Projects.

A solution can contain only one temporary project at a time. Therefore, if you want to add a new temporary project to a solution that already contains one, you will be prompted to save the existing temporary project first. A temporary project cannot be added to an existing solution. While you are working with a temporary project, you can close and reopen project items without saving them. However, you can save a project item in a temporary project at any time while you are working with the project. The project item represents a link to the saved file. If you later save the temporary project, that saved item remains a linked file and a copy is not saved in the project folder. If you delete a file from a temporary project, it is deleted permanently and cannot be saved if you later save the project.

To save a temporary project

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

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

    The Save Project dialog box opens.

  3. In the , Name box, specify a name for the project.

  4. In the Location box, specify where you want to save the project.

  5. Select the Create directory for Solution check box.

    Note Note

    This check box is not available for Visual Basic web projects, Visual C# web projects, or other directory-based projects.

  6. In the New Solution Name box, specify a name that differs from the project name.

  7. Select the Add to Source Control check box if you want to add the solution to a version-control database or repository.

  8. Choose the OK button.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft