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 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 save a temporary project at any time while you are working with it.
To save a temporary project
In Solution Explorer, select the solution or project that you want to save.
On the File menu, click Save or Save As.
In the Save Project dialog box, type a Name for the project.
Select a save Location.
Select Create directory for Solution.
Note
This option is not available for Visual Basic Web or Visual C# Web projects, or other directory-based projects. For more information, see Item Management in Projects.
Type a New Solution Name that differs from the project name.
Select Add to Source Control if you want to add the solution to a source control database or repository.
Select OK.
Saving Items in a Temporary Project
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
In Solution Explorer, select the project item that you want to save.
On the File menu, click Save <file> As.
Browse to the folder where you want to save the item.
Type the File name.
Click Save.
See Also
Tasks
How to: Enable Temporary Projects