Mimicking folder hierarchy
-
Does anyone have a tool or trick that takes Visual Studio 2008 projects and moves/copies the files in project into a heirarchy that mimics the folder structure inside the project and then updates the project appropriately?
-
Does anyone have a tool or trick that takes Visual Studio 2008 projects and moves/copies the files in project into a heirarchy that mimics the folder structure inside the project and then updates the project appropriately?
Unfortunately I do not have the solution for you. However, if you have played with the Macro Language for extending VS or are willing to investigate, you should look at the sample macros that came with VS. The first is called "AddDirAsSlnFolder", it does the opposite of what you are asking for. It takes a directory folder, and creates a solution from the folder. It also creates folder (filters) in the solution that mimics the directory structure. One other function that may be useful, is in the Utilities group, and it is called "ListProj". This macro helps iterate through all of the project items (files). Good Luck