Search code examples
c++visual-studio-2013vcxproj

Is there a way to make a property for a vcxproj in the Property Pages not be bolded using Visual Studio 2013?


I know that when a property appears bold in Property Pages it indicates that it has been modified.

https://msdn.microsoft.com/en-us/library/675f1588.aspx

I have an API that we ship samples with, and I want all of the settings across all of them to be consistent and the same.

Unfortunately, some sample vcxprojs appear to have the right setting and are not bolded, while others somehow had a wrong setting and after changing it to the right one, it's obviously still bold.

I want all of the samples Property Pages to be consistent across all of the samples, even the bolding of text. I realize this is really just an OCD cosmetic type of an issue, and there is no technical problem behind it.


Solution

  • The .vcxproj file is just an XML file. I'm assuming that bold means that there is a setting specified in the file, even if it's the default.

    So: edit the file in a normal text editor. Remove the setting, so that it uses the default value, and so that it no longer appears in bold in Visual Studio.