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

  • SEARCH
  • Home
  • 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 1032303
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:03:30+00:00 2026-05-16T14:03:30+00:00

I currently have a project I am building in Visual Studio 2005 and I

  • 0

I currently have a project I am building in Visual Studio 2005 and I need to be able to build the part of the project some of the time with directory A and sometimes with directory B and never both. If you right click a file (foo.f) –> Click Properties –> you can change the "Exclude File From Build" from NO to YES and the project will build w/o that individual file.

Is there a way to do this for an entire folder/directory (without individually clicking every file in the folder) so that that particular folder/directory will be ignored in the build?

NOTE: I know I could select all the files in the directory if there were not subdirectories. I realize that would work but there are many subdirectories within this main directory (1000+ files 20+ subdirectories) and using shift and selecting the top and bottom files. You cannot select them all that way; it pops up an error when you right-click!

  • 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-16T14:03:31+00:00Added an answer on May 16, 2026 at 2:03 pm

    Solution explorer supports multiple selection.

    • Open the directory
    • Select the top file
    • Hold shift and click on the bottom file.

    This will select every file in the directory. The right click context menu will then allow you to exclude them all as a group.

    You can get even more fine grained selection by using control to select elements.

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

Sidebar

Related Questions

Building a solution from Visual Studio in mono develop seems to have some issues.
so I'm using Visual Studio 2005 and for my current project I'm building a
Currently I have a simple maven project that is building a jar file and
In a visual studio project I have three layers, Data Layer, Business Layer and
I want to have our WiX installer that is currently building on a build
I am totally new in building Visual Studio Project through a script, so feel
I have a Visual Studio 2010 Deployment Project with the following settings: DetectNewerInstalledVersion =
I would like to automate my Android project building with Ant. Currently I have
I'm building an application using Visual Studio 2010 in which I have to use
I have a project that is currently in production delivering some web-services using the

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.