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