Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 982157
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T04:39:10+00:00 2026-05-16T04:39:10+00:00

I am working with a team on quite a few visual studio (2008) projects

  • 0

I am working with a team on quite a few visual studio (2008) projects which share a lot of code. Some files are used by all projects, but some are only useful to 1 or 2.
I am looking for a way to extract all useful files for one particular project.

The principle we use is to share directories. Each project selects the shared directories it wants to use in the inclusion-directory list (inside the project properties). All such directories are created inside a root directory (directly or not).

 project_dir/  
 shared1_dir/  
 shared2_dir/  
 ...

Given a project file, what it the most efficient way to copy all needed files, keeping the shared-directory structure, but in a new root directory ? The objective here is to make a strict archive of a project.

NB : source files in shared directories are usually not cpp files, but rather header files (our projects use a lot of templates).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T04:39:11+00:00Added an answer on May 16, 2026 at 4:39 am

    I have written a small tool in python that does the job. The principle is to launch a “rebuild all” command in devenv for the to-be-archived solution+project, and to interpret its output.

    This command is applied to a special configuration (in my case “ReleaseInclude”) to which a couple of subtle changes (compared to “Release” configuration) have been made :
    * enabled option “showIncludes” (compiler option)
    * enabled option “/verbose:lib” for libraries (linker option)

    Now,
    * using regexp in visual studio project files, i have been able to retrieve all cpp and other ressource files.
    * using regexp on the output of the compilation (don’t forget to enable the output for devenv !), i have been able to list all include and library files

    I have also filtered this list of files to ignore visual-studio-centric files.

    Tested and approved.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm in a 10 person team working on a large legacy code base with
In the last year and a bit of working on my team's code base
Has anybody any successful remarks about having a team working via Remote Desktop? In
My team is working on a crappy old website and most of the pages
My team is working on a conversion project to convert one product (but with
I'm working with a team that's building an engine for a variety of 2D
I'm working in a team environment where each developer works from their local desktop
The team I am working in has embraced scrum in a big way. I
I'm working with my ASP.NET development team to try and create better (i.e. cleaner)
I am working on a small team of web application developers. We edit JSPs

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.