Differences Between Included and Additional Included Directories

Asked 2 years ago, Updated 2 years ago, 48 views

What is the difference between the inclusion directory items and the additional inclusion directory items in VisualStudio properties?
Which one should I use?

c visual-studio

2022-09-30 16:47

1 Answers

The build system has been changed from VCBuild to MSBuild from Visual Studio 2010 and the project file has been changed from vcproj to vcxproj.Redundant configuration for compatibility.

Additional include directories are set to be traditional project specific

Included directory was included in the Projects and Solutions - VC++ directory under Tools - Options until Visual Studio 2008, and is basically intended for project-independent global configuration.In Visual Studio 2010 and later, you can open the properties of Microsoft.Cpp.Win32.user in the tree under View - Other Windows - Properties Manager and set them up globally.(Actually, it is difficult to distinguish between project-specific settings using this item.)

In addition to the above, there was a comment that the included directory could be set from the project properties of Solution Explorer.

(Actually, it is difficult to distinguish between project-specific settings using this item.)

It is written that it can be set up and used in terms of function, but it is different from the original purpose, so it is up to each person to decide whether to use it or not.


2022-09-30 16:47

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.