Controlling Projects and Solutions
The Visual Studio .NET automation model provides objects and collections that allow you to control both the solution and the projects and project items within the solution.
- The Solution object and the Projects collection (as in
Solution.Projects) contain all of the projects in the current solution.
- The ProjectItems collection represents all of the items contained in a Project, with the exception of virtual projects. The ProjectItem object represents individual items within the project.
A solution can contain two additional virtual projects that are not associated with a particular project: the Solution Items and Miscellaneous Files projects.
|To learn more about||See|
|Controlling the solution, and projects within the solution.||Controlling the Solution and Its Projects|
|How to programmatically create solution and project build configurations.||Creating Solution and Project Build Configurations|
|Dealing with projects that do not support the Visual Studio .NET automation model.||Working with Unmodeled Projects|
|Working with the Solution Items and Miscellaneous Items projects.||Working With Solution Items and Miscellaneous Items|
|Saving solution and project variable values between IDE sessions.||Persisting Information in Projects and Solutions|
|Manipulating the Solution Explorer window.||Controlling Solution Explorer|
Introduction to Solutions, Projects, and Items | Adding and Handling Commands | Creating and Controlling Environment Windows | Creating Add-Ins and Wizards | Creating an Add-In | Creating a Wizard | Automation and Extensibility Reference | Automation Object Model Chart