visual studio reuse project and rename

        When using visual studio for development, each time you have to create a project and select the save path, some functions also need to configure the lib and include paths before they can be used, which is more cumbersome.
        If you don't want to create a new project every time, you can make a copy of the old project, change the name, and reuse it.
        Here is an example of renaming the project Mp4toWmv in the VS2013 environment. Change the project name from Mp4toWmv to RgbtoMp4. The steps are as follows:
        1. Copy Mp4toWmv and change the total folder name to RgbtoMp4, as shown in Figure (1 ) Shows:

Figure (1) Copy the old project and rename it RgbtoMp4

        2. Remove the useless Debug folder and *.sdf file;

Figure (2) Remove the redundant Debug folder and *.sdf file

        3. Press F2 to rename the files inside to RgbtoMp4 in turn;

Figure (3) Rename all files

        4. Open the three files RgbtoMp4.sln, RgbtoMp4.vcxproj, RgbtoMp4.vcproj.filters obtained above, and change all the fields Mp4toWmv inside to RgbtoMp4, as shown in Figure (4), Figure (5), and Figure (6) Show:

Figure (4) Change Mp4toWmv to RgbtoMp4 in *.sln
Figure (5) Change Mp4toWmv to RgbtoMp4 in *.vcxproj
Figure (6) Change Mp4toWmv to RgbtoMp4 in *.vcxproj.filters

Guess you like

Origin blog.csdn.net/sanqima/article/details/106970714