none
Apparent Discrepence between Win32 & x86 Definitions for Property Sheets

    Question

  • I am attempting, for the first time albeit, to use property sheets as I am making a number of projects that all rely on one dll library, and figured this would be a fast way to do it.

    In property Manager, if I add the property sheet to both the sections marked Debug | Win32 & Debug | x64, then go into my project, the inheritance only works when I select x64 from the Solution Platforms dropdown. The other option, we I had been using by default for these projects being x86, does not load the sheet under the Debug | Win32 section in property manager.

    As a laymen to this process, it is behaving as though Win32 section is not the section that x86 is using to load property sheets - except I do not have any other options in either location (the drop down, or the property manager).

    This is in VS2015, and I have some screenshots below:

    x64 Property Sheet applied - http://puu.sh/s2ItT/fdc03a35d0.png

    Win32 Property Sheet applied (same sheet right now) - http://puu.sh/s2IuL/73dc21a398.png

    x64 Solution Platform selected property settings - http://puu.sh/s2Iwy/f7ebfe0466.png

    x86 Solution Platofmr selected property settings - http://puu.sh/s2IvS/1036374d50.png

    Note that in the last image, the additional include directories is not inheriting from the property sheet - and indeed no settings are inheriting. It is behaving as though the property sheet is not there. Could someone explain to me what I am doing wrong, or if this is supposed to work, what is going wrong? I am getting confused.

    Thanks

    Tuesday, November 1, 2016 10:25 AM

All replies

  • Hi Vaengence,

    Thanks for your post.

    I have viewed the screenshots you shared and found the additional include directories was set as empty of  last screenshot.

    But I did a test in my side, I can't reproduce your issue, please provide us the detailed steps to reproduce your issue.

    In addition, since this setting was related to the C++. I think you'd better try to post your issue to our C++ forum, maybe you will get a better answer there.

    Best Regards,

    Lake Xiao

    Thursday, November 3, 2016 1:39 AM
    Moderator
  • The additional include directories is empty in the last screenshot as that is the problem that is occuring. It should not be empty as it should be importing text into this from the property sheet that I have applied.

    I posted here as this appears to be a problem with Visual Studio itself, not to do with the language, given that the property sheet is being applied to a project incorrectly (or in this case not at all ) for no apparent reason.

    I also spent a few hours updating VS2015 just in case it was a bug or an installation problem. I can repost in C++ but will they be able to help with a fault with VS itself?


    Oh, and in terms of the problem, all I did was create a new project, add a pre-existing property sheet to the Win32 section of the Property Manager for that Project and it fails to inherit.
    • Edited by Vaengence Thursday, November 3, 2016 3:39 AM
    Thursday, November 3, 2016 3:28 AM
  • Hi Vaengence,

    >>Oh, and in terms of the problem, all I did was create a new project, add a pre-existing property sheet to the Win32 section of the Property Manager for that Project and it fails to inherit.

    Follow the steps, I reproduced the problem, I think this might be an issue in Visual Studio. For this, I logged this issue to Microsoft Connect. Maybe we could get a reply or the logic of this there:

    https://connect.microsoft.com/VisualStudio/feedbackdetail/view/3110514/apparent-discrepence-between-win32-x86-definitions-for-property-sheets

    You can vote it and add your comments.

    Best Regards,

    Lake Xiao

    Friday, November 4, 2016 2:59 AM
    Moderator