From 3d62ec44e66c22e1f88eed28484bd513218a1719 Mon Sep 17 00:00:00 2001 From: Sam Xu Date: Thu, 23 Jan 2020 16:40:57 -0800 Subject: [PATCH] Change to .Net Framework version 4.7.2 because 4.6.1 is not recommended --- .../Microsoft.OpenAPI.OData.Reader.csproj | 2 +- src/OoasGui/OoasGui.csproj | 2 +- src/OoasUtil/OoasUtil.csproj | 4 +- ...icrosoft.OpenAPI.OData.Reader.Tests.csproj | 2 +- tool/Build.props | 2 +- tool/GetNugetPackageMetadata.proj | 2 +- tool/WebStack.versions.settings.targets | 125 ------------------ 7 files changed, 7 insertions(+), 132 deletions(-) delete mode 100644 tool/WebStack.versions.settings.targets diff --git a/src/Microsoft.OpenApi.OData.Reader/Microsoft.OpenAPI.OData.Reader.csproj b/src/Microsoft.OpenApi.OData.Reader/Microsoft.OpenAPI.OData.Reader.csproj index 9904f61..844f593 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Microsoft.OpenAPI.OData.Reader.csproj +++ b/src/Microsoft.OpenApi.OData.Reader/Microsoft.OpenAPI.OData.Reader.csproj @@ -3,7 +3,7 @@ Microsoft.OpenApi.OData.Reader Microsoft.OpenApi.OData - net461; netstandard2.0 + net472; netstandard2.0 Microsoft.OpenApi.OData.Reader latest latest diff --git a/src/OoasGui/OoasGui.csproj b/src/OoasGui/OoasGui.csproj index c14e7a9..be7423f 100644 --- a/src/OoasGui/OoasGui.csproj +++ b/src/OoasGui/OoasGui.csproj @@ -8,7 +8,7 @@ WinExe OoasGui OoasGui - v4.6.1 + v4.7.2 512 true diff --git a/src/OoasUtil/OoasUtil.csproj b/src/OoasUtil/OoasUtil.csproj index abf4d68..b624326 100644 --- a/src/OoasUtil/OoasUtil.csproj +++ b/src/OoasUtil/OoasUtil.csproj @@ -1,8 +1,8 @@ - + Exe - net461 + net472 diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Microsoft.OpenAPI.OData.Reader.Tests.csproj b/test/Microsoft.OpenAPI.OData.Reader.Tests/Microsoft.OpenAPI.OData.Reader.Tests.csproj index 927a82a..a9b3b4b 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Microsoft.OpenAPI.OData.Reader.Tests.csproj +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Microsoft.OpenAPI.OData.Reader.Tests.csproj @@ -3,7 +3,7 @@ Microsoft.OpenApi.OData.Reader.Tests Microsoft.OpenApi.OData.Reader.Tests - net461;netcoreapp2.1 + net472;netcoreapp2.1 true ..\..\tool\35MSSharedLib1024.snk true diff --git a/tool/Build.props b/tool/Build.props index c9827c1..3403d53 100644 --- a/tool/Build.props +++ b/tool/Build.props @@ -14,7 +14,7 @@ $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), build.root)) - $(EnlistmentRoot)\tool + $(EnlistmentRoot)\tool diff --git a/tool/GetNugetPackageMetadata.proj b/tool/GetNugetPackageMetadata.proj index fda6c79..5f120f9 100644 --- a/tool/GetNugetPackageMetadata.proj +++ b/tool/GetNugetPackageMetadata.proj @@ -1,5 +1,5 @@ - + $([System.DateTime]::Now.ToString("yyyyMMddHHmm")) diff --git a/tool/WebStack.versions.settings.targets b/tool/WebStack.versions.settings.targets deleted file mode 100644 index bae399b..0000000 --- a/tool/WebStack.versions.settings.targets +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - 1 - 0 - 1 - - - - - - [1.1.4, 2.0.0) - [7.6.1, 8.0.0) - - - - - 2020 - $([System.Convert]::ToInt16('$([MSBuild]::Add(1, $([MSBuild]::Subtract($([System.DateTime]::Now.Year), $(VersionStartYear)))))$([System.DateTime]::Now.ToString("MMdd"))')) - $([System.Convert]::ToString($(VersionDateCode))) - - - - - $(VersionMajor).$(VersionMinor).$(VersionBuild) - $(VersionFullSemantic).$(VersionRevision) - - - - - $(VersionFullSemantic) - $(VersionFullSemantic)-$(VersionRelease) - - - - - true - false - - - - 2020 - INVALID_VersionMajor - INVALID_VersionMajor - INVALID_VersionMinor - INVALID_VersionBuild - $([MSBuild]::Add(1, $([MSBuild]::Subtract($([System.DateTime]::Now.Year), $(VersionStartYear)))))$([System.DateTime]::Now.ToString("MMdd")) - 0 - - - - - $(VersionMajor).$(VersionMinor).$(VersionBuild).$(VersionRevision) - $(VersionMajor).$(VersionMinor).$(VersionBuild).$(VersionRevision) - $(AssemblyFileVersion) - $(IntermediateOutputPath)$(MSBuildProjectName).version.cs - - - - - - - - - - - - Microsoft Corporation. - © Microsoft Corporation. All rights reserved. - - - - - - - - - - - - - - - - - - - - - - - - - - - - @(VersionText) - !$(VersionText.Contains('$(AssemblyFileVersion)')) - - - - - - - $([System.Convert]::ToInt16('$(VersionMajor)')) - $([System.Convert]::ToInt16('$(VersionMinor)')) - $([System.Convert]::ToUInt16('$(VersionBuild)')) - $([System.Convert]::ToInt16('$(VersionRevision)')) - - - - - ValidateVersionValues;ShouldGenerateVersionFile;GenerateVersionFileCore - - - -