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 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'm currently working on some logging code that supposed to - among other things
We have an application that among other things, checks the existence of a cookie
I have an MVC application that among other things contains a small Silverlight menu
I have a function that, among other things, takes in an object and a
I've got a menu that contains, among other things, some most-recently-used file paths. The
I am writing a shell script to, among other things, determine the last time
I am searching for a host for a new commercial website. Among other things,
I'm using the jQuery.Validation plugin for client side validation, and among other things I
I'm just finishing up a computer architecture course this semester where, among other things,
The server I'm trying to maintain is sassing me. Among other things, I ran

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.