From 0b7b6629fb39bd8d6097ca331d0344320a8131d4 Mon Sep 17 00:00:00 2001 From: Gerrit 'Geaz' Gazic Date: Sat, 25 Mar 2017 17:25:16 +0100 Subject: [PATCH] Changes for VS2017 --- CHANGELOG.txt | 6 +++- build.bat | 4 +-- msbuild.config | 30 ++----------------- .../ConfigGrid/ConfigGridControl.xaml.cs | 2 +- 4 files changed, 11 insertions(+), 31 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 069f6090..62134480 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,4 +1,8 @@ -Version 1.2.1 +Version 1.2.2 + +- Updated nugets for VS2017 support + +Version 1.2.1 - Some minor bug fixes diff --git a/build.bat b/build.bat index b77df0a5..9e42e148 100644 --- a/build.bat +++ b/build.bat @@ -1,4 +1,4 @@ call nuget.exe restore src -set msBuildDir="C:\Program Files (x86)\MSBuild\14.0\Bin" -call %msBuildDir%\msbuild "msbuild.config" /p:Configuration=Build \ No newline at end of file +set msBuildDir="C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin" +call %msBuildDir%\msbuild "msbuild.config" \ No newline at end of file diff --git a/msbuild.config b/msbuild.config index f29eed66..6e1377a1 100644 --- a/msbuild.config +++ b/msbuild.config @@ -22,33 +22,9 @@ src/Shells/SharpDox.Console/bin/Release/SharpDox.Console.exe; src/Shells/SharpDox.Console/bin/Release/SharpDox.Console.exe.config"/> - + diff --git a/src/Shells/SharpDox.GUI/Controls/ConfigGrid/ConfigGridControl.xaml.cs b/src/Shells/SharpDox.GUI/Controls/ConfigGrid/ConfigGridControl.xaml.cs index 19816c98..fa7c2e1e 100644 --- a/src/Shells/SharpDox.GUI/Controls/ConfigGrid/ConfigGridControl.xaml.cs +++ b/src/Shells/SharpDox.GUI/Controls/ConfigGrid/ConfigGridControl.xaml.cs @@ -28,7 +28,7 @@ public ConfigGridControl(IConfigController configController, IExporter[] allExpo private void InitializeGrid() { - foreach (var configSection in _configController.GetAllConfigSections().Reverse()) + foreach (var configSection in _configController.GetAllConfigSections()) { AddSection(configSection); }