Solution Explorer provides you with an organized view of your projects and their files as well as ready access to the commands that pertain to them. A toolbar associated with this window offers commonly used commands for the item you highlight in the list. To access Solution Explorer, select Solution Explorer on the View menu. For more information, see Using Solution Explorer.
- Tree View
This standard Solution Explorer view presents the active solution as a logical container for one or more projects and the items associated with them. You can open project items for modification and perform other management tasks directly from this view. Because different projects store items in different ways, the folder structure in Solution Explorer does not necessarily reflect the physical storage of the items listed. For more information, see Item Management in Projects.
When the Track Active Item in Solution Explorer option is selected in the General, Projects and Solutions, Options Dialog Box, Solution Explorer automatically opens the folder for the active item, scrolls to its tree view node, and selects its name. The selected item changes as you work with different files within a project or solution, or different components within an Integrated Development Environment (IDE) designer. When this option is cleared, the selection in Solution Explorer does not change automatically.
To associate a file with a solution but not with a specific project, add the file directly to the solution. A new node for the added file will then appear within the Solution Items folder. Other files not yet associated either with the active solution or with any of its projects are placed in the Miscellaneous Files folder. These are generally files opened or created on your local drive while working with a project.
- Project in Bold Font
A project shown in bold font is selected as the Startup Project for running and debugging purposes. If there is more than one startup project, the solution node in the tree view is shown in bold font. Startup projects run automatically when you start the Visual Studio debugger. By default, the first project created in the solution is designated as the startup project, but you can change which projects run first when you build or run your solution For more information, see How to: Set Startup Projects.
When the Only build startup projects and dependencies on Run option is selected in the Build and Run, Projects and Solutions, Options Dialog Box , only the startup project and its dependencies are built when you:
When this option is cleared, either of these actions builds all projects, dependencies, and solution files.
- Solution in Bold Font
A solution shown in bold font indicates that the option to run multiple projects when the debugger starts is enabled. Although the option is enabled, it does not mean that any projects have been selected to run; by default, they are set not to run.
For more information about running multiple projects when you start the debugger, see Startup Project, Common Properties, Solution Property Pages Dialog Box.
- Commands
You can open files, add and remove items, and perform other management tasks. Each project template provides its own folders and icons for indicating the nature of the items in the project. You can add folders and items to meet the needs of your individual development project. The icons can indicate a variety of information about an item. For example, depending on the project, you might see an icon indicating that an item is an HTML file or that a file is under source control. Each project template also determines which tools and designers are associated with a file type as well as the commands available for item management.
- Selection
Selecting a solution, project, or item in the list dynamically updates the commands that are available to you. For example, the Copy Web command is available only from Solution Explorer's toolbar if a Web application is selected in the list. You can double-click a file to display it in the designer, tool, or editor associated with the file's type. You can change the default editor for some file types by right-clicking the file and then choosing Open With on the shortcut menu.
- Multiple-selection
You can select multiple items in a single project or multiple items spanning several projects. Select multiple items when you want to perform batch operations (simultaneously opening multiple files for editing, for example) or when you want to determine or edit the intersecting properties of two or more solution items. When you select multiple items, the available commands represent the intersection of commands common to all selected items.
For more information about specific projects, select one of the following links.