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 5963507
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T19:15:55+00:00 2026-05-22T19:15:55+00:00

Among other things, I would imagine a Visual C++ solution is meant to encompass

  • 0

Among other things, I would imagine a Visual C++ solution is meant to encompass all source code files for a given product. However, thanks to the “Additional Include Directories” and the built-in C++ ability to include absolute and relative paths — it is possible to include files that are not part of the solution (starting w/ the standard C++ headers).

This can happen both by mistake and on purpose. However, in order to keep dependencies under control and a good overview of which files are the product’s source code and which files are built-in Visual Studio files, it would be great if there were a way to tell which includes are not part of the current solution.

See this example:

  1. C:/Dev/Projects/Project-A/Project-A.vcproj
  2. C:/Dev/Projects/Project-A/Project-B.vcproj
  3. C:/Dev/Projects/Project-A/Project-C.vcproj
  4. C:/Dev/Projects/Project-A/Project-D.vcproj

If I create a solution, which only contains Project-A, and Project-B, there is nothing preventing Project-A to include files from under Project-C and Project-D. This means that if for example I wish to distribute this solution, I might overlook Project-C and Project-D.

Can we get VC++ to give a warning about source code files that are not explicitly part of the solution — outside of course, the standard C++ headers? Or at least provide a full list of files that are eventually included in the final library/executable?

Thanks in advance!

  • 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-22T19:15:56+00:00Added an answer on May 22, 2026 at 7:15 pm

    The include files that are not a part of the project usually automatically placed in the “External Dependencies” folder of the project in Solution Explorer.

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

Sidebar

Related Questions

I would like to use a templated typedef in various places, among other things
given a somewhat complex file of unknown specification that among other things contains an
I have an html page with (among other things) a Unity3D window. I would
Let's imagine I have a relational database in which, among other things, I want
I'm currently working on some logging code that supposed to - among other things
I have a simple site which allows users to upload files (among other things
I'm retrieving some XML-data containing countries among many other things and I would like
Recently I updated Wine (among other things) via port selfupdate from version 1.2 to
I have a database which stores (among other things), the following pieces of information:
I have an MSBuild task that executes (among other things) a call to xcopy.

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.