Click here to Skip to main content
15,893,588 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am attempting to clean up an application and have the following:

[CApp.cpp, CApp.h, etc.]

  --> Subdirectory #1
           -->Subdirectory #2 [.cpp, .h, etc.] 

  -->Subdirectory NEW 


The app was created in VS12 using the class wizards; somehow the source and header files wound up in Subdirectory #2. I want to create a subdirectory NEW at the same tree level as Subdirectory #1 and move some of the files in Subdirectory 2 -> Subdirectory NEW.

Although I have never tried it, I guess that I could export and import the files. Is there another way? Some file in the project that keeps track of the file's path that I could easily edit once the NEW subdirectory is created and contains the files that I want there.

Thanks,

Barry
Posted

1 solution

This is a trivial thing you could easily investigate by yourself. Here is what I would do:

I would open a the project file as a text file (with a text editor outside Visual Studio, or having the project unloaded), such as *.vcproj, *.csproj, observe where the project files are prescribed and modified the paths. Remember that all paths are written relative to the directory of a project file.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900