From a6977591835d3728ea8453c2d3b64511cf6e44de Mon Sep 17 00:00:00 2001 From: Brisingr Aerowing Date: Sat, 11 Jul 2015 00:07:10 -0400 Subject: [PATCH] Added .NET 4.5.2 support to build scripts --- README.md | 5 +++++ build_both.bat | 2 +- build_jsNet.bat | 7 ++++++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 17b15a8..f390d74 100644 --- a/README.md +++ b/README.md @@ -97,3 +97,8 @@ Known Problems ============== See Issues on GitHub. + +Using .NET 4.5.2 +================= + +You will need the [.NET 4.5.2 Developer Pack](https://www.microsoft.com/en-us/download/details.aspx?id=42637) to build using .NET 4.5.2 diff --git a/build_both.bat b/build_both.bat index ccd9501..76ff94c 100755 --- a/build_both.bat +++ b/build_both.bat @@ -27,7 +27,7 @@ EXIT /b 0 ECHO VS_version: vs2010 ^| vs2012 ^| vs2013 ECHO MSVC_version: MSVC2010 ^| MSVC2012 ^| MSVC2013 ECHO Build_mode: Debug ^| Release - ECHO Framework_version: 4.0 ^| 4.5 ^| 4.5.1 + ECHO Framework_version: 4.0 ^| 4.5 ^| 4.5.1 ^| 4.5.2 ECHO. ECHO Note: see README if you have troubles building with MSVC different from your VS version (e.g. vs2013 and MSVC2010) ENDLOCAL diff --git a/build_jsNet.bat b/build_jsNet.bat index bb502a5..a332af7 100755 --- a/build_jsNet.bat +++ b/build_jsNet.bat @@ -74,6 +74,7 @@ echo PlatformToolset is set to %PlatformToolset% SET net40=4.0 SET net45=4.5 SET net451=4.5.1 +SET net452=4.5.2 IF /I "%args-framework%"=="%net40%" ( SET TargetFrameworkVersion=v%net40% SET TargetFrameworkProfile=Client @@ -86,6 +87,10 @@ IF /I "%args-framework%"=="%net451%" ( SET TargetFrameworkVersion=v%net451% SET TargetFrameworkProfile= ) +IF /I "%args-framework%"=="%net452%" ( + SET TargetFrameworkVersion=v%net452% + SET TargetFrameworkProfile= +) IF NOT DEFINED TargetFrameworkVersion GOTO :helpAndExit echo TargetFrameworkVersion is set to %TargetFrameworkVersion% @@ -105,7 +110,7 @@ EXIT /b 0 ECHO VS_version: vs2010 ^| vs2012 ^| vs2013 ECHO MSVC_version: MSVC2010 ^| MSVC2012 ^| MSVC2013 ECHO Build_mode: Debug ^| Release - ECHO Framework_version: 4.0 ^| 4.5 ^| 4.5.1 + ECHO Framework_version: 4.0 ^| 4.5 ^| 4.5.1 ^| 4.5.2 ECHO. ECHO Note: see README if you have troubles building with MSVC different from your VS version (e.g. vs2013 and MSVC2010) ENDLOCAL