aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devtools/create_project/msbuild.cpp5
-rw-r--r--dists/msvc15/readme.txt2
2 files changed, 5 insertions, 2 deletions
diff --git a/devtools/create_project/msbuild.cpp b/devtools/create_project/msbuild.cpp
index 2389bb6cfb..762b3e4526 100644
--- a/devtools/create_project/msbuild.cpp
+++ b/devtools/create_project/msbuild.cpp
@@ -65,7 +65,10 @@ int MSBuildProvider::getVisualStudioVersion() {
}
int MSBuildProvider::getSolutionVersion() {
- return (_version == 15) ? 14 : _version + 1;
+ if (_version == 14 || _version == 15)
+ return 14;
+
+ return _version + 1;
}
namespace {
diff --git a/dists/msvc15/readme.txt b/dists/msvc15/readme.txt
index 3d16c7b20b..bce3ffbaae 100644
--- a/dists/msvc15/readme.txt
+++ b/dists/msvc15/readme.txt
@@ -2,5 +2,5 @@ The Visual Studio project files can now be created automatically from the GCC
files using the create_project tool inside the /devtools/create_project folder.
To create the default project files, build create_project.exe, copy it inside
-this folder and run the create_msvc14.bat file for a default build. You can run
+this folder and run the create_msvc15.bat file for a default build. You can run
create_project.exe with no parameters to check the possible command-line options.