From 3bde55ed1e191aa0f24f5b3da93f2736193d50f8 Mon Sep 17 00:00:00 2001 From: Afshin Arani Date: Sun, 5 Apr 2020 20:03:16 +0800 Subject: [PATCH] Upgrade from .NET4.5 to .NET4.6 Because we might use dependencies soon that require this framework. And anyway these days the .NET world is mostly a hybrid between .NETStandard/.NETCore libs and .NET4.6 ones, not older than that. (This commit was brought from TLSharp [1] version 0.1.0.522.) [1] https://github.com/sochix/TLSharp/commit/709e5be7ccaacdb74bd0c2d595d594e6a6aa8d2e --- src/TeleSharp.Generator/App.config | 2 +- src/TeleSharp.Generator/TeleSharp.Generator.csproj | 3 ++- src/TeleSharp.TL/TeleSharp.TL.csproj | 3 ++- src/TgSharp.Core/TgSharp.Core.csproj | 3 ++- src/TgSharp.Tests.NUnit/TgSharp.Tests.NUnit.csproj | 3 ++- src/TgSharp.Tests.VS/TgSharp.Tests.VS.csproj | 3 ++- src/TgSharp.Tests/TgSharp.Tests.csproj | 3 ++- 7 files changed, 13 insertions(+), 7 deletions(-) diff --git a/src/TeleSharp.Generator/App.config b/src/TeleSharp.Generator/App.config index 88fa402..8324aa6 100644 --- a/src/TeleSharp.Generator/App.config +++ b/src/TeleSharp.Generator/App.config @@ -1,6 +1,6 @@  - + \ No newline at end of file diff --git a/src/TeleSharp.Generator/TeleSharp.Generator.csproj b/src/TeleSharp.Generator/TeleSharp.Generator.csproj index 04dbaca..ec8fd85 100644 --- a/src/TeleSharp.Generator/TeleSharp.Generator.csproj +++ b/src/TeleSharp.Generator/TeleSharp.Generator.csproj @@ -9,9 +9,10 @@ Properties TeleSharp.Generator TeleSharp.Generator - v4.5 + v4.6 512 true + AnyCPU diff --git a/src/TeleSharp.TL/TeleSharp.TL.csproj b/src/TeleSharp.TL/TeleSharp.TL.csproj index 7c6b30c..86a2cd7 100644 --- a/src/TeleSharp.TL/TeleSharp.TL.csproj +++ b/src/TeleSharp.TL/TeleSharp.TL.csproj @@ -9,8 +9,9 @@ Properties TeleSharp.TL TeleSharp.TL - v4.5 + v4.6 512 + true diff --git a/src/TgSharp.Core/TgSharp.Core.csproj b/src/TgSharp.Core/TgSharp.Core.csproj index b4dbfa1..84d21e7 100644 --- a/src/TgSharp.Core/TgSharp.Core.csproj +++ b/src/TgSharp.Core/TgSharp.Core.csproj @@ -9,8 +9,9 @@ Properties TgSharp.Core TgSharp.Core - v4.5 + v4.6 512 + true diff --git a/src/TgSharp.Tests.NUnit/TgSharp.Tests.NUnit.csproj b/src/TgSharp.Tests.NUnit/TgSharp.Tests.NUnit.csproj index fe41595..d348007 100644 --- a/src/TgSharp.Tests.NUnit/TgSharp.Tests.NUnit.csproj +++ b/src/TgSharp.Tests.NUnit/TgSharp.Tests.NUnit.csproj @@ -7,7 +7,8 @@ Library TgSharp.Tests.NUnit TgSharp.Tests.NUnit - v4.5 + v4.6 + true diff --git a/src/TgSharp.Tests.VS/TgSharp.Tests.VS.csproj b/src/TgSharp.Tests.VS/TgSharp.Tests.VS.csproj index 4b849a8..3767756 100644 --- a/src/TgSharp.Tests.VS/TgSharp.Tests.VS.csproj +++ b/src/TgSharp.Tests.VS/TgSharp.Tests.VS.csproj @@ -8,7 +8,7 @@ Properties TgSharp.Tests.VS TgSharp.Tests.VS - v4.5 + v4.6 512 {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} 10.0 @@ -16,6 +16,7 @@ $(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages False UnitTest + true diff --git a/src/TgSharp.Tests/TgSharp.Tests.csproj b/src/TgSharp.Tests/TgSharp.Tests.csproj index 57d77c2..96f4529 100644 --- a/src/TgSharp.Tests/TgSharp.Tests.csproj +++ b/src/TgSharp.Tests/TgSharp.Tests.csproj @@ -9,8 +9,9 @@ Properties TgSharp.Tests TgSharp.Tests - v4.5 + v4.6 512 + true