PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Monday, November 21, 2022

[FIXED] What is the difference between bolded and normal properties in Visual Studio?

 November 21, 2022     msbuild, visual-c++, visual-studio     No comments   

Issue

A coworker noticed in a PR where I made adjustments to some build configurations that the line

 <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>

was added to one project. Below is the difference between master (right) and my branch (left). In the left, the text for windows sdk is bold, in the right its faint.

branch (left) v master (right)

As far as I recall, I never changed this, but the line got added and I don't understand why or how or what the deal with that is. The options in the dropdowns are also different.

master branch

So,

  1. What makes some properties bold and others faint?
  2. Why do bold properties have the <inherit from parent or project defaults> option?

Solution

Properties for C++ files and projects can be inherited. From "Property inheritance in Visual Studio projects":

On a property page, a property in bold is defined in the current context. A property in normal font is inherited.

The <inherit from parent or project defaults> option essentially clears a value defined in the current context that is overriding the inherited value.



Answered By - Jonathan Dodds
Answer Checked By - Willingham (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing