Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Studio
  4. Mimicking folder hierarchy

Mimicking folder hierarchy

Scheduled Pinned Locked Moved Visual Studio
csharpvisual-studioquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    firegryphon
    wrote on last edited by
    #1

    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?

    P 1 Reply Last reply
    0
    • F firegryphon

      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?

      P Offline
      P Offline
      Paul M Watt
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups