Search code examples
c++visual-studio-2017wxwidgetspropertysheet

VS2017 Property sheet ordering


So, I have a project in VS2017, and VS2017 has recently received an update. I have then added all the wxWidgets modules as projects to my initial solution and have dealt with build order so they're built in the proper order.

However, I always get this error:

C:\Programs\Visual Studio 2017\Common7\IDE\VC\VCTargets\Microsoft.Cpp.Common.props(144,5): warning
MSB4211: The property "WindowsTargetPlatformVersion" is being set to a value for the first time, but it was already consumed at
"C:\Programs\Visual Studio 2017\Common7\IDE\VC\VCTargets\Microsoft.Cpp.WindowsSDK.props (29,5)".

I've found this thread and the article linked in it: link

but it doesn't tell me how to fix it. From what I can tell, the properties for individual project are not evaluated in an order they should be evaluated.

How do I define the property sheet ordering? What exactly do I need to change?

Also not that I cannot change the project files or anything connected to wxWidgets since it's a submodule in my repository and any changes done cannot be saved to the repo.


Solution

  • Disclaimer: I haven't got a clue about your issue ,just trying to help you (the OP) !

    In the IDE ,under menu View ,select other windows. There select Property Manager ,which let you manipulate property sheets in your projects. Right-click on a property-sheet. Some sheets have a menu which let you move the sheet up or down.

    I suggest to play around with that. It might just solve your issue. I could be completely wrong of course.