Accessing Project Type Specific Project, Project Item, and Configuration Properties
Project properties let you control how the project is built, its security settings, file names, file paths, and so on. Often the properties are handled manually by setting values in the Properties window. However, the automation model in Visual Studio that applies to projects developed with specific languages offers objects that can programmatically manipulate projects, project items, and configuration properties in Visual Basic or Visual C# projects.
The properties that apply to specific projects are accessed by passing the name of the property as a string to the EnvDTE.Property.Item object. The topics in this section describe how to get and set these properties in a Visual Studio Add-in project.
In This Section
How to: Access Configuration Properties for Specific Types of Projects
Explains how to programmatically access configuration properties for Visual Basic or Visual C# projects.How to: Access Properties of Specific Project Types
Demonstrates how to access properties for Visual Basic or Visual C# projects.How to: Access Properties of Files for Specific Types of Projects
Demonstrates how to access properties of files in a Visual Basic or Visual C# projects.How to: Access Properties of Folders for Specific Types of Projects
Demonstrates how to access properties of folders in a Visual Basic or Visual C# projects.
Reference
CSharpProjectConfigurationProperties4
Provides access to Visual C# project configuration properties.ProjectConfigurationProperties3
Provides access to project configuration properties.ProjectProperties3
Provides access to project properties.VBProjectProperties4
Provides access to Visual Basic project configuration properties.FileProperties2
Provides access to properties of files.FolderProperties2
Provides access to properties of folders.
Related Sections
How to: Create Solution and Project Build Configurations
Describes how to use the general automation model to programmatically create configurations for solutions and project builds.How to: Programmatically Create Project Items
Describes how to use the general automation model to create items in projects.Extending Visual Basic and Visual C# Projects
Provides links to topics that explain how to extend projects that you develop with various programming languages.