Visual Studio: can I copy a project’s properties to use in another project?

Try using Property Sheets. These can create a single properties file that can be inherited by multiple projects.

  1. Use “View > Other Windows > Property Manager” to bring up the Property Manager. It will show your projects and configurations.

  2. Right click a configuration, and select “Add New Project Property Sheet…”. You can name it, and select a location that works for all your projects.

  3. Once created, you can edit its properties just as you would a build configuration.

  4. To use that property sheet as the basis for other projects, just right click the configuration or project, and select “Add Existing Property Sheet…”. Browse to where you saved the original sheet, and it will be inherited.

Any changes to the original sheet will be applied to any project that inherits it, unless they are overridden. If you go into properties higher up the chain, properties that override will have bold type for their values. To get them to always use the value in the base sheet, there will be a “inherit from parent or project defaults” option where applicable.

Leave a Comment