

In the sense, that it works only once, and thereafter, it is no more expandable and nomore removable. There exist regular ways to do it in VisualStudio (see ), what in my experience are not working properly. Its the question, what Jay Elston is asking in a comment above and what is a very obvious and burning question in my eyes, what seems to be nonanswered here yet. Add an include-path to every new project automatically Its the what Microsoft explains in MSDN too. Its the what Stackunderflow and user1741137 say in the answers above. In Solution Explorer (a palette-window of the VisualStudio-mainwindow), open the shortcut menu for the project and choose Properties, and then in the left pane of the Property Pages dialog box, expand Configuration Properties and select VC++ Directories.Īdditional include- or lib-paths are specifyable there. To resume the working solutions in VisualStudio 20 too: Add an include-path to the current project only Tools / Options / Projects and Solutions / VC++ Directories / Include files

You can set Visual Studio's global include path here: This answer only applies to ancient versions of Visual Studio - see the more recent answers for modern versions. To set an include path you now must right-click a project and go to: Properties/VC++ Directories/General/Include Directories VC++ Directories are now available as a user property sheet that is added by default to all projects. Solution is now deprecated as of Visual Studio 2012.
