From 5cfc2fca4cf8da131b499ae1357b42041542a984 Mon Sep 17 00:00:00 2001 From: Helios747 Date: Wed, 2 Jan 2019 20:21:42 -0800 Subject: [PATCH] [General] retargeted to .NET 4.5 and enabled TLS 1.2 --- DolphinBisectTool/App.config | 2 +- DolphinBisectTool/DolphinBisectTool.csproj | 6 +++++- DolphinBisectTool/Program.cs | 2 ++ DolphinBisectTool/Properties/Resources.Designer.cs | 2 +- DolphinBisectTool/Properties/Settings.Designer.cs | 2 +- 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/DolphinBisectTool/App.config b/DolphinBisectTool/App.config index 72a71af..e707b32 100644 --- a/DolphinBisectTool/App.config +++ b/DolphinBisectTool/App.config @@ -2,5 +2,5 @@ - + diff --git a/DolphinBisectTool/DolphinBisectTool.csproj b/DolphinBisectTool/DolphinBisectTool.csproj index 3f50da4..c650000 100644 --- a/DolphinBisectTool/DolphinBisectTool.csproj +++ b/DolphinBisectTool/DolphinBisectTool.csproj @@ -9,7 +9,7 @@ Properties DolphinBisectTool DolphinBisectTool - v4.0 + v4.5 512 true @@ -24,6 +24,7 @@ DEBUG;TRACE prompt 4 + false x86 @@ -33,6 +34,7 @@ TRACE prompt 4 + false true @@ -42,6 +44,7 @@ x86 prompt MinimumRecommendedRules.ruleset + false bin\x86\Release\ @@ -51,6 +54,7 @@ x86 prompt MinimumRecommendedRules.ruleset + false diff --git a/DolphinBisectTool/Program.cs b/DolphinBisectTool/Program.cs index 6036410..d240a58 100644 --- a/DolphinBisectTool/Program.cs +++ b/DolphinBisectTool/Program.cs @@ -1,4 +1,5 @@ using System; +using System.Net; using System.Windows.Forms; namespace DolphinBisectTool @@ -11,6 +12,7 @@ static class Program [STAThread] static void Main() { + ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new MainWindow()); diff --git a/DolphinBisectTool/Properties/Resources.Designer.cs b/DolphinBisectTool/Properties/Resources.Designer.cs index 228adbe..06e998d 100644 --- a/DolphinBisectTool/Properties/Resources.Designer.cs +++ b/DolphinBisectTool/Properties/Resources.Designer.cs @@ -19,7 +19,7 @@ namespace DolphinBisectTool.Properties { // class via a tool like ResGen or Visual Studio. // To add or remove a member, edit your .ResX file then rerun ResGen // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Resources { diff --git a/DolphinBisectTool/Properties/Settings.Designer.cs b/DolphinBisectTool/Properties/Settings.Designer.cs index 8be9245..a9fb94d 100644 --- a/DolphinBisectTool/Properties/Settings.Designer.cs +++ b/DolphinBisectTool/Properties/Settings.Designer.cs @@ -12,7 +12,7 @@ namespace DolphinBisectTool.Properties { [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "14.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.9.0.0")] internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));