How the values inherited in the [Visual Studio] project properties are removed

Source: Internet
Author: User

Encounter a problem, inexplicable compilation, but error "can't find include file <winapifamily.h>", never had a problem before! The solution is not to be baffled.

The study contained the location of the winapifamily and found a macro winapi_family as the contained switch. Then look at the project settings and discover that this macro definition is in the preprocessor definition. Other normal items are not.

It is further discovered that this preprocessor definition is inherited. At this point, the question becomes: How do I delete an inherited definition? This is not operational in the project properties.

Here's how:
Open the property manager, and in the property manager you can see all the projects that inherit the configuration, there is a windows_store related thing, there is just winapi_family definition.

After the problem is found, there is a "Windows store support" in the project properties, which is done by removing it.

How the values inherited in the [Visual Studio] project properties are removed

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.