Property sheet (.prop): how to reorganize its file name rather than disrupt the VS project?

If I rename the property sheet, the text of the property sheet will be changed.
However, the file name of the property page will not be changed.
How to make a file name automatically with text ?

Example

First, I create a worksheet foo.
It will be saved as foo.props.

After that, I think it foois not an appropriate name, so I rename fooin barto the project manager : -
(left to right)

enter image description here

However, the foo.propsfile will still be present, not renamed to bar.propsautomatically: -

enter image description here

Thus, when I want to add barto any configuration, my eyes should look foo.propsin the system folder. (Actually, I have to search bar.props.)

This is error prone.
The mismatch makes me nervous.

My workaround

Whenever I rename it, I need to delete the old one foo.propsin Windows Explorer manually, and then save the worksheet baras new bar.propsmanually.

However, other worksheet links in my projects will be broken.

bar.props , ( ): foo.props.

? ?

+6
2

. Notepad ++. vcxproj, Notepad ++

. , 45 , ++.

+3

.

0

Source: https://habr.com/ru/post/1015963/


All Articles