Explorar o código

build: Revert using MSBuild property files to auto-detect platform toolset

Prior to this change I had added a .props file for each .vcxproj to
use MSBuild's $(DefaultPlatformToolset) as the the default for
$(PlatformToolset). Typically that configuration allows for the
appropriate toolset to be used no matter which version of VS2010+
the wolfssl64.sln and project files are opened in. Problem is when an
MSBuild was used from the command line to build the solution it got the
$(DefaultPlatformToolset) from a property file based on the solution
header (currently "Format Version 12.00" which maps to Visual Studio
2012) instead. Another side effect was it set the VisualStudioVersion
to 11.0 (n - 1; n in this case 12.0) which was incorrect.

To remedy the above this change reverts back to the old PlatformToolset
method where the v110 toolset (Visual Studio 2012) is specified in every
configuration in every vcxproj. The user will have to specify explicitly
a different toolset to override it (either via command line or the GUI)
if they are not using VS2012.

VS2010 example:
msbuild -p:Configuration="Debug" wolfssl64.sln -p:PlatformToolset=v100
Jay Satiro %!s(int64=9) %!d(string=hai) anos
pai
achega
b8b13ad9e9

+ 8 - 1
examples/client/client.vcxproj

@@ -40,41 +40,48 @@
     <Keyword>Win32Proj</Keyword>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
-  <Import Project="client.vcxproj.props" />
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
     <WholeProgramOptimization>true</WholeProgramOptimization>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Release|Win32'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
     <WholeProgramOptimization>true</WholeProgramOptimization>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
     <WholeProgramOptimization>true</WholeProgramOptimization>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Release|x64'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
     <WholeProgramOptimization>true</WholeProgramOptimization>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Debug|Win32'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Debug|x64'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />

+ 0 - 44
examples/client/client.vcxproj.props

@@ -1,44 +0,0 @@
-<!--
-****************************************************************************************************
-Property file for specifying PlatformToolset.
-
-WARNING:  DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
-          created a backup copy.  Incorrect changes to this file will make it
-          impossible to load or build your projects from the command-line or the IDE.
-
-This file should be included immediately after Microsoft.Cpp.Default.props in every vcxproj.
-  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
-  <Import Project="project-name.vcxproj.props" />
-
-Copyright (C) 2014 Jay Satiro <raysatiro@yahoo.com>. All rights reserved. https://github.com/jay
-****************************************************************************************************
--->
-
-<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <PropertyGroup>
-<!--
-VS2010 specific: 'DefaultPlatformToolset' isn't an inherited MS property so it must be defined here.
--->
-    <DefaultPlatformToolset Condition="'$(DefaultPlatformToolset)' == '' and '$(VisualStudioVersion)' == '10.0'">v100</DefaultPlatformToolset>
-<!--
-In Visual Studio what is referred to in the documentation as the default platform toolset is
-whatever is in the inherited MS property 'PlatformToolset' and _not_ 'DefaultPlatformToolset'. That
-means in Visual Studio 2010, 2012 and 2013 the default platform toolset is v100 (VS2010 compiler).
-
-http://msdn.microsoft.com/en-us/library/8x480de8(v=vs.110).aspx
-http://msdn.microsoft.com/en-us/library/8x480de8(v=vs.120).aspx
-
-The default platform toolset for my projects should be the toolset included with whatever version of
-Visual Studio is being used. That can be found in 'DefaultPlatformToolset', eg:
-
-Visual Studio 2010 $(DefaultPlatformToolset): v100
-Visual Studio 2012 $(DefaultPlatformToolset): v110
-Visual Studio 2013 $(DefaultPlatformToolset): v120
-
-This way the projects will be built properly using the appropriate toolset no matter which version
-of Visual Studio (>= 2010) the project files are opened in (eg Visual Studio 2012 should compile
-project using its 2012 compiler) and without any project upgrade notices.
--->
-    <PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
-  </PropertyGroup>
-</Project>

+ 8 - 1
examples/echoclient/echoclient.vcxproj

@@ -40,41 +40,48 @@
     <Keyword>Win32Proj</Keyword>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
-  <Import Project="echoclient.vcxproj.props" />
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
     <WholeProgramOptimization>true</WholeProgramOptimization>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Release|Win32'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
     <WholeProgramOptimization>true</WholeProgramOptimization>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
     <WholeProgramOptimization>true</WholeProgramOptimization>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Release|x64'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
     <WholeProgramOptimization>true</WholeProgramOptimization>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Debug|Win32'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Debug|x64'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />

+ 0 - 44
examples/echoclient/echoclient.vcxproj.props

@@ -1,44 +0,0 @@
-<!--
-****************************************************************************************************
-Property file for specifying PlatformToolset.
-
-WARNING:  DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
-          created a backup copy.  Incorrect changes to this file will make it
-          impossible to load or build your projects from the command-line or the IDE.
-
-This file should be included immediately after Microsoft.Cpp.Default.props in every vcxproj.
-  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
-  <Import Project="project-name.vcxproj.props" />
-
-Copyright (C) 2014 Jay Satiro <raysatiro@yahoo.com>. All rights reserved. https://github.com/jay
-****************************************************************************************************
--->
-
-<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <PropertyGroup>
-<!--
-VS2010 specific: 'DefaultPlatformToolset' isn't an inherited MS property so it must be defined here.
--->
-    <DefaultPlatformToolset Condition="'$(DefaultPlatformToolset)' == '' and '$(VisualStudioVersion)' == '10.0'">v100</DefaultPlatformToolset>
-<!--
-In Visual Studio what is referred to in the documentation as the default platform toolset is
-whatever is in the inherited MS property 'PlatformToolset' and _not_ 'DefaultPlatformToolset'. That
-means in Visual Studio 2010, 2012 and 2013 the default platform toolset is v100 (VS2010 compiler).
-
-http://msdn.microsoft.com/en-us/library/8x480de8(v=vs.110).aspx
-http://msdn.microsoft.com/en-us/library/8x480de8(v=vs.120).aspx
-
-The default platform toolset for my projects should be the toolset included with whatever version of
-Visual Studio is being used. That can be found in 'DefaultPlatformToolset', eg:
-
-Visual Studio 2010 $(DefaultPlatformToolset): v100
-Visual Studio 2012 $(DefaultPlatformToolset): v110
-Visual Studio 2013 $(DefaultPlatformToolset): v120
-
-This way the projects will be built properly using the appropriate toolset no matter which version
-of Visual Studio (>= 2010) the project files are opened in (eg Visual Studio 2012 should compile
-project using its 2012 compiler) and without any project upgrade notices.
--->
-    <PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
-  </PropertyGroup>
-</Project>

+ 8 - 1
examples/echoserver/echoserver.vcxproj

@@ -40,41 +40,48 @@
     <Keyword>Win32Proj</Keyword>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
-  <Import Project="echoserver.vcxproj.props" />
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
     <WholeProgramOptimization>true</WholeProgramOptimization>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Release|Win32'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
     <WholeProgramOptimization>true</WholeProgramOptimization>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
     <WholeProgramOptimization>true</WholeProgramOptimization>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Release|x64'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
     <WholeProgramOptimization>true</WholeProgramOptimization>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Debug|Win32'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Debug|x64'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />

+ 0 - 44
examples/echoserver/echoserver.vcxproj.props

@@ -1,44 +0,0 @@
-<!--
-****************************************************************************************************
-Property file for specifying PlatformToolset.
-
-WARNING:  DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
-          created a backup copy.  Incorrect changes to this file will make it
-          impossible to load or build your projects from the command-line or the IDE.
-
-This file should be included immediately after Microsoft.Cpp.Default.props in every vcxproj.
-  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
-  <Import Project="project-name.vcxproj.props" />
-
-Copyright (C) 2014 Jay Satiro <raysatiro@yahoo.com>. All rights reserved. https://github.com/jay
-****************************************************************************************************
--->
-
-<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <PropertyGroup>
-<!--
-VS2010 specific: 'DefaultPlatformToolset' isn't an inherited MS property so it must be defined here.
--->
-    <DefaultPlatformToolset Condition="'$(DefaultPlatformToolset)' == '' and '$(VisualStudioVersion)' == '10.0'">v100</DefaultPlatformToolset>
-<!--
-In Visual Studio what is referred to in the documentation as the default platform toolset is
-whatever is in the inherited MS property 'PlatformToolset' and _not_ 'DefaultPlatformToolset'. That
-means in Visual Studio 2010, 2012 and 2013 the default platform toolset is v100 (VS2010 compiler).
-
-http://msdn.microsoft.com/en-us/library/8x480de8(v=vs.110).aspx
-http://msdn.microsoft.com/en-us/library/8x480de8(v=vs.120).aspx
-
-The default platform toolset for my projects should be the toolset included with whatever version of
-Visual Studio is being used. That can be found in 'DefaultPlatformToolset', eg:
-
-Visual Studio 2010 $(DefaultPlatformToolset): v100
-Visual Studio 2012 $(DefaultPlatformToolset): v110
-Visual Studio 2013 $(DefaultPlatformToolset): v120
-
-This way the projects will be built properly using the appropriate toolset no matter which version
-of Visual Studio (>= 2010) the project files are opened in (eg Visual Studio 2012 should compile
-project using its 2012 compiler) and without any project upgrade notices.
--->
-    <PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
-  </PropertyGroup>
-</Project>

+ 8 - 1
examples/server/server.vcxproj

@@ -40,41 +40,48 @@
     <Keyword>Win32Proj</Keyword>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
-  <Import Project="server.vcxproj.props" />
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
     <WholeProgramOptimization>true</WholeProgramOptimization>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Release|Win32'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
     <WholeProgramOptimization>true</WholeProgramOptimization>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
     <WholeProgramOptimization>true</WholeProgramOptimization>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Release|x64'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
     <WholeProgramOptimization>true</WholeProgramOptimization>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Debug|Win32'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Debug|x64'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />

+ 0 - 44
examples/server/server.vcxproj.props

@@ -1,44 +0,0 @@
-<!--
-****************************************************************************************************
-Property file for specifying PlatformToolset.
-
-WARNING:  DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
-          created a backup copy.  Incorrect changes to this file will make it
-          impossible to load or build your projects from the command-line or the IDE.
-
-This file should be included immediately after Microsoft.Cpp.Default.props in every vcxproj.
-  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
-  <Import Project="project-name.vcxproj.props" />
-
-Copyright (C) 2014 Jay Satiro <raysatiro@yahoo.com>. All rights reserved. https://github.com/jay
-****************************************************************************************************
--->
-
-<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <PropertyGroup>
-<!--
-VS2010 specific: 'DefaultPlatformToolset' isn't an inherited MS property so it must be defined here.
--->
-    <DefaultPlatformToolset Condition="'$(DefaultPlatformToolset)' == '' and '$(VisualStudioVersion)' == '10.0'">v100</DefaultPlatformToolset>
-<!--
-In Visual Studio what is referred to in the documentation as the default platform toolset is
-whatever is in the inherited MS property 'PlatformToolset' and _not_ 'DefaultPlatformToolset'. That
-means in Visual Studio 2010, 2012 and 2013 the default platform toolset is v100 (VS2010 compiler).
-
-http://msdn.microsoft.com/en-us/library/8x480de8(v=vs.110).aspx
-http://msdn.microsoft.com/en-us/library/8x480de8(v=vs.120).aspx
-
-The default platform toolset for my projects should be the toolset included with whatever version of
-Visual Studio is being used. That can be found in 'DefaultPlatformToolset', eg:
-
-Visual Studio 2010 $(DefaultPlatformToolset): v100
-Visual Studio 2012 $(DefaultPlatformToolset): v110
-Visual Studio 2013 $(DefaultPlatformToolset): v120
-
-This way the projects will be built properly using the appropriate toolset no matter which version
-of Visual Studio (>= 2010) the project files are opened in (eg Visual Studio 2012 should compile
-project using its 2012 compiler) and without any project upgrade notices.
--->
-    <PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
-  </PropertyGroup>
-</Project>

+ 4 - 1
sslSniffer/sslSniffer.vcxproj

@@ -24,23 +24,26 @@
     <Keyword>Win32Proj</Keyword>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
-  <Import Project="sslSniffer.vcxproj.props" />
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
     <ConfigurationType>DynamicLibrary</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
     <WholeProgramOptimization>true</WholeProgramOptimization>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
     <ConfigurationType>DynamicLibrary</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
     <WholeProgramOptimization>true</WholeProgramOptimization>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
     <ConfigurationType>DynamicLibrary</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
     <ConfigurationType>DynamicLibrary</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />

+ 0 - 44
sslSniffer/sslSniffer.vcxproj.props

@@ -1,44 +0,0 @@
-<!--
-****************************************************************************************************
-Property file for specifying PlatformToolset.
-
-WARNING:  DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
-          created a backup copy.  Incorrect changes to this file will make it
-          impossible to load or build your projects from the command-line or the IDE.
-
-This file should be included immediately after Microsoft.Cpp.Default.props in every vcxproj.
-  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
-  <Import Project="project-name.vcxproj.props" />
-
-Copyright (C) 2014 Jay Satiro <raysatiro@yahoo.com>. All rights reserved. https://github.com/jay
-****************************************************************************************************
--->
-
-<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <PropertyGroup>
-<!--
-VS2010 specific: 'DefaultPlatformToolset' isn't an inherited MS property so it must be defined here.
--->
-    <DefaultPlatformToolset Condition="'$(DefaultPlatformToolset)' == '' and '$(VisualStudioVersion)' == '10.0'">v100</DefaultPlatformToolset>
-<!--
-In Visual Studio what is referred to in the documentation as the default platform toolset is
-whatever is in the inherited MS property 'PlatformToolset' and _not_ 'DefaultPlatformToolset'. That
-means in Visual Studio 2010, 2012 and 2013 the default platform toolset is v100 (VS2010 compiler).
-
-http://msdn.microsoft.com/en-us/library/8x480de8(v=vs.110).aspx
-http://msdn.microsoft.com/en-us/library/8x480de8(v=vs.120).aspx
-
-The default platform toolset for my projects should be the toolset included with whatever version of
-Visual Studio is being used. That can be found in 'DefaultPlatformToolset', eg:
-
-Visual Studio 2010 $(DefaultPlatformToolset): v100
-Visual Studio 2012 $(DefaultPlatformToolset): v110
-Visual Studio 2013 $(DefaultPlatformToolset): v120
-
-This way the projects will be built properly using the appropriate toolset no matter which version
-of Visual Studio (>= 2010) the project files are opened in (eg Visual Studio 2012 should compile
-project using its 2012 compiler) and without any project upgrade notices.
--->
-    <PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
-  </PropertyGroup>
-</Project>

+ 8 - 1
testsuite/testsuite.vcxproj

@@ -40,41 +40,48 @@
     <Keyword>Win32Proj</Keyword>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
-  <Import Project="testsuite.vcxproj.props" />
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
     <WholeProgramOptimization>true</WholeProgramOptimization>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Release|Win32'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
     <WholeProgramOptimization>true</WholeProgramOptimization>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
     <WholeProgramOptimization>true</WholeProgramOptimization>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Release|x64'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
     <WholeProgramOptimization>true</WholeProgramOptimization>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Debug|Win32'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Debug|x64'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />

+ 0 - 44
testsuite/testsuite.vcxproj.props

@@ -1,44 +0,0 @@
-<!--
-****************************************************************************************************
-Property file for specifying PlatformToolset.
-
-WARNING:  DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
-          created a backup copy.  Incorrect changes to this file will make it
-          impossible to load or build your projects from the command-line or the IDE.
-
-This file should be included immediately after Microsoft.Cpp.Default.props in every vcxproj.
-  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
-  <Import Project="project-name.vcxproj.props" />
-
-Copyright (C) 2014 Jay Satiro <raysatiro@yahoo.com>. All rights reserved. https://github.com/jay
-****************************************************************************************************
--->
-
-<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <PropertyGroup>
-<!--
-VS2010 specific: 'DefaultPlatformToolset' isn't an inherited MS property so it must be defined here.
--->
-    <DefaultPlatformToolset Condition="'$(DefaultPlatformToolset)' == '' and '$(VisualStudioVersion)' == '10.0'">v100</DefaultPlatformToolset>
-<!--
-In Visual Studio what is referred to in the documentation as the default platform toolset is
-whatever is in the inherited MS property 'PlatformToolset' and _not_ 'DefaultPlatformToolset'. That
-means in Visual Studio 2010, 2012 and 2013 the default platform toolset is v100 (VS2010 compiler).
-
-http://msdn.microsoft.com/en-us/library/8x480de8(v=vs.110).aspx
-http://msdn.microsoft.com/en-us/library/8x480de8(v=vs.120).aspx
-
-The default platform toolset for my projects should be the toolset included with whatever version of
-Visual Studio is being used. That can be found in 'DefaultPlatformToolset', eg:
-
-Visual Studio 2010 $(DefaultPlatformToolset): v100
-Visual Studio 2012 $(DefaultPlatformToolset): v110
-Visual Studio 2013 $(DefaultPlatformToolset): v120
-
-This way the projects will be built properly using the appropriate toolset no matter which version
-of Visual Studio (>= 2010) the project files are opened in (eg Visual Studio 2012 should compile
-project using its 2012 compiler) and without any project upgrade notices.
--->
-    <PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
-  </PropertyGroup>
-</Project>

+ 8 - 1
wolfssl.vcxproj

@@ -40,41 +40,48 @@
     <Keyword>Win32Proj</Keyword>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
-  <Import Project="wolfssl.vcxproj.props" />
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
     <ConfigurationType>StaticLibrary</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
     <WholeProgramOptimization>true</WholeProgramOptimization>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Release|Win32'" Label="Configuration">
     <ConfigurationType>DynamicLibrary</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
     <WholeProgramOptimization>true</WholeProgramOptimization>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
     <ConfigurationType>StaticLibrary</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
     <WholeProgramOptimization>true</WholeProgramOptimization>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Release|x64'" Label="Configuration">
     <ConfigurationType>DynamicLibrary</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
     <WholeProgramOptimization>true</WholeProgramOptimization>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
     <ConfigurationType>StaticLibrary</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Debug|Win32'" Label="Configuration">
     <ConfigurationType>DynamicLibrary</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
     <ConfigurationType>StaticLibrary</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DLL Debug|x64'" Label="Configuration">
     <ConfigurationType>DynamicLibrary</ConfigurationType>
+    <PlatformToolset>v110</PlatformToolset>
     <CharacterSet>Unicode</CharacterSet>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />

+ 0 - 44
wolfssl.vcxproj.props

@@ -1,44 +0,0 @@
-<!--
-****************************************************************************************************
-Property file for specifying PlatformToolset.
-
-WARNING:  DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
-          created a backup copy.  Incorrect changes to this file will make it
-          impossible to load or build your projects from the command-line or the IDE.
-
-This file should be included immediately after Microsoft.Cpp.Default.props in every vcxproj.
-  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
-  <Import Project="project-name.vcxproj.props" />
-
-Copyright (C) 2014 Jay Satiro <raysatiro@yahoo.com>. All rights reserved. https://github.com/jay
-****************************************************************************************************
--->
-
-<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <PropertyGroup>
-<!--
-VS2010 specific: 'DefaultPlatformToolset' isn't an inherited MS property so it must be defined here.
--->
-    <DefaultPlatformToolset Condition="'$(DefaultPlatformToolset)' == '' and '$(VisualStudioVersion)' == '10.0'">v100</DefaultPlatformToolset>
-<!--
-In Visual Studio what is referred to in the documentation as the default platform toolset is
-whatever is in the inherited MS property 'PlatformToolset' and _not_ 'DefaultPlatformToolset'. That
-means in Visual Studio 2010, 2012 and 2013 the default platform toolset is v100 (VS2010 compiler).
-
-http://msdn.microsoft.com/en-us/library/8x480de8(v=vs.110).aspx
-http://msdn.microsoft.com/en-us/library/8x480de8(v=vs.120).aspx
-
-The default platform toolset for my projects should be the toolset included with whatever version of
-Visual Studio is being used. That can be found in 'DefaultPlatformToolset', eg:
-
-Visual Studio 2010 $(DefaultPlatformToolset): v100
-Visual Studio 2012 $(DefaultPlatformToolset): v110
-Visual Studio 2013 $(DefaultPlatformToolset): v120
-
-This way the projects will be built properly using the appropriate toolset no matter which version
-of Visual Studio (>= 2010) the project files are opened in (eg Visual Studio 2012 should compile
-project using its 2012 compiler) and without any project upgrade notices.
--->
-    <PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
-  </PropertyGroup>
-</Project>