VS2010 'Inherited Values' path question

Posted on 2011-10-21
Last Modified: 2012-05-12
If I look at the Project Properties of ceratin VS2010 dll projects I see that:
Configuration Properties->VC++ Directories->Include Directories
contains the path:
C:\Program Files\Microsoft DirectX SDK %28February 2010%29\Include
in the 'Inherited values' (which cannot be edited).

Hoe can I get this path into the 'Inherited Values' of a brand new VS2010 solution.

Question by:Wanting2LearnMan
    LVL 30

    Accepted Solution

    Hi Wanting2LearnMan,

    you can simply add this path to the INCLUDE environment variable - then after restarting VS 2010 this path should be within 'Inherited values'.

    Hope that helps,

    LVL 7

    Assisted Solution

    Reading it looks like these can also be set up on a per-user basis. Specifically from the link ... "By default, per-user property sheets are located at <drive>:\Documents and Settings\<user>\Local Settings\Application Data\Microsoft\MSBuild\v4.0."

    ZOPPO's solution will change the machine environment for all users, which is probably applicable in 99% of cases. You could extend his solution to set up batch files to open Visual Studio with different environment settings if you really needed to.


    Author Comment

    1. Also in Visual Studio, open the 'Property Manager' for the solution.
    2. Right click the file Microsoft.Cpp.Win32.user and make a change in there.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Suggested Solutions

    Title # Comments Views Activity
    EvenOdd challenge 10 67
    MaxSpan challenge 9 49
    Visual xHarbour 1 47
    changeXy challenge 13 40
    Here we come across an interesting topic of coding guidelines while designing automation test scripts. The scope of this article will not be limited to QTP but to an overall extent of using VB Scripting for automation projects. Introduction Now…
    Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
    An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
    The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now