Open DrusTheAxe opened 3 years ago
P.S. <PlatformToolset>
has a similar problem
Almost(!) all *.vcxproj in Project Reunion say
<PlatformToolset>v142</PlatformToolset>
Only exception is dev\MRTCore\mrt\mrm\UnitTests\BaseUnitTests.vcxproj
<PlatformToolset Condition="$(VisualStudioVersion) >= 16.0">v142</PlatformToolset>
<PlatformToolset Condition="$(VisualStudioVersion) >= 15.0 and $(VisualStudioVersion) < 16.0">v141</PlatformToolset>
<PlatformToolset Condition="$(VisualStudioVersion) < 15.0">v140</PlatformToolset>
and the similar-but-different dev\MRTCore\mrt\Microsoft.ApplicationModel.Resources\src\Microsoft.ApplicationModel.Resources.vcxproj
<PlatformToolset>v140</PlatformToolset>
<PlatformToolset Condition="'$(VisualStudioVersion)' == '15.0'">v141</PlatformToolset>
<PlatformToolset Condition="'$(VisualStudioVersion)' == '16.0'">v142</PlatformToolset>
@DrusTheAxe something like this: https://github.com/microsoft/ProjectReunion/tree/user/ToolsetAndWindowsVersionMismatch/AddingToProps
I moved both the Platform Toolset and Windows' version stuff to the prop file. I have also changed all vcxproj files to use this property sheet. I haven't tested to make sure anything build yet.
Almost(!) everything in Reunion's consistent
1x; dev\MRTCore\mrt\Microsoft.ApplicationModel.Resource
2x: test\DynamicDependency\data\Framework.Math.Add + Framework.Math.Multiply
20+ (everyone else)
The 2x (Framework.Math.*) are the only correct ones?
All the project files should be in sync.
Also, this is waaay too manual to ensure it stays correct. Can we add something to PRojectReunion.props that verifies this @ build-time and fails if values aren't as expected?