From 993a6bfee8a2354685ea5f73434df7fb5d57b24d Mon Sep 17 00:00:00 2001 From: Cassandra Granade Date: Thu, 29 Sep 2022 20:46:50 +0000 Subject: [PATCH] Revert to using .NET Core SDK 3.1.423. --- .devcontainer/devcontainer.json | 13 +++++++++++++ ci/steps-build-core.yml | 4 ++-- examples/echo-kernel/echo-kernel.csproj | 2 +- examples/moon-kernel/moon-kernel.csproj | 2 +- src/Data/Protocol.cs | 8 +++++--- src/Engines/BaseEngine.cs | 6 +++--- src/Engines/ExecuteRequestHandler.cs | 8 ++++---- src/Extensions/Conversions.cs | 2 +- src/Extensions/Extensions.cs | 2 +- src/GlobalUsings.cs | 8 -------- src/ResultEncoding/DisplayData.cs | 4 ++-- src/Servers/ShellServer.cs | 2 +- src/jupyter-core.csproj | 2 +- tests/core/core.csproj | 2 +- 14 files changed, 36 insertions(+), 29 deletions(-) create mode 100644 .devcontainer/devcontainer.json delete mode 100644 src/GlobalUsings.cs diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..2558748 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,13 @@ +{ + "extensions": [ + "ms-dotnettools.csharp" + ], + "features": { + "ghcr.io/devcontainers/features/dotnet:1": { + "version": "3.1.423" + }, + "ghcr.io/devcontainers/features/python:1": { + "version": "3.8" + } + } +} diff --git a/ci/steps-build-core.yml b/ci/steps-build-core.yml index e682067..cffd47d 100644 --- a/ci/steps-build-core.yml +++ b/ci/steps-build-core.yml @@ -4,9 +4,9 @@ steps: - task: DotNetCoreInstaller@1 - displayName: 'Install .NET Core SDK 6.0.401' + displayName: 'Install .NET Core SDK 3.1.423' inputs: - version: 6.0.401 + version: 3.1.423 - task: DotNetCoreCLI@2 displayName: "Build and run unit tests on Core library" diff --git a/examples/echo-kernel/echo-kernel.csproj b/examples/echo-kernel/echo-kernel.csproj index 6eabbc2..a772213 100644 --- a/examples/echo-kernel/echo-kernel.csproj +++ b/examples/echo-kernel/echo-kernel.csproj @@ -3,7 +3,7 @@ True Exe - net6.0 + netcoreapp3.1