How to modify the default configuration properties of a project?

w H 20 Reputation points
2024-08-23T05:27:39.2866667+00:00

I want to set up my default project property settings. When conducting my projects, I tend to modify the property settings, such as changing the output directory and intermediate directory. But it's so annoying to change every time. How can I modify the default settings? And I'd like to know how to change my *.vcxproj.filters and *.vcxproj files' directory?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,032 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,683 questions
0 comments No comments
{count} votes

Accepted answer
  1. RLWA32 44,931 Reputation points
    2024-08-23T07:17:53.7333333+00:00

    The basis of creating a reusable way to easily change the default property settings of a C++ project is to use a custom property sheet. See Share or reuse Visual Studio project settings. This custom property sheet would then be added to a C++ project and its property settings would automatically be reflected in the project.

    And I'd like to know how to change my *.vcxproj.filters and *.vcxproj files' directory?

    When creating a new C++ project you choose the location of the project file (.vcxproj). By default the .vcxproj.filters file is created in the same location that you chose for the project file. So its not clear to me what you mean by this question.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.