However, I always get this error:
Code: Select all
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: https://social.msdn.microsoft.com/Forums/vstudio/en-US/e7dd9b64-f3a1-4647-b084-025dabc8c1ec/warning-msb4211-the-property-windowstargetplatformversion-is-being-set-to-a-value-for-the-first?forum=msbuild
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 to it cannot be saved to the repo.
This question has been posted to stackoverflow (where it belongs) but stackoverflow is being a dick as usual and has declared my question unclear. Since both my project and wxWidgets are running on vc141 toolkit and should be up to date and ordered properly, I don't really know what's going on.
Note that the problem presists even if I unload my own project and leave only wxWidget ones.
I hope I'm not overstepping, since this isn't a strictly wsWidgets question, but I really don't know where else to ask.