Skip to content

Commit 7d1aa8a

Browse files
author
Paul Joiner
committed
Updated interactive project to support net7.0 and n6.0
We'll use 6.0 since that is the environment that is supported by dotnet interactive for now
1 parent 0b52113 commit 7d1aa8a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ RUN apt-get update \
4242
# Install .NET Core SDK
4343

4444
# When updating the SDK version, the sha512 value a few lines down must also be updated.
45-
ENV DOTNET_SDK_VERSION 7.0.100
45+
ENV DOTNET_SDK_VERSION 6.0.100
4646

47-
RUN dotnet_sdk_version=7.0.100 \
47+
RUN dotnet_sdk_version=6.0.100 \
4848
&& curl -SL --output dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/$dotnet_sdk_version/dotnet-sdk-$dotnet_sdk_version-linux-x64.tar.gz \
49-
&& dotnet_sha512='0a2e74486357a3ee16abb551ecd828836f90d8744d6e2b6b83556395c872090d9e5166f92a8d050331333d07d112c4b27e87100ba1af86cac8a37f1aee953078' \
49+
&& dotnet_sha512='cb0d174a79d6294c302261b645dba6a479da8f7cf6c1fe15ae6998bc09c5e0baec810822f9e0104e84b0efd51fdc0333306cb2a0a6fcdbaf515a8ad8cf1af25b' \
5050
&& echo "$dotnet_sha512 dotnet.tar.gz" | sha512sum -c - \
5151
&& mkdir -p /usr/share/dotnet \
5252
&& tar -ozxf dotnet.tar.gz -C /usr/share/dotnet \

src/DwC-A_dotnet.Interactive/DwC-A_dotnet.Interactive.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
55
<RootNamespace>DwC_A.Interactive</RootNamespace>
66
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
77
<Copyright>Copyright © Paul Joiner 2021</Copyright>
@@ -36,7 +36,7 @@
3636
</ItemGroup>
3737

3838
<ItemGroup>
39-
<None Include="$(OutputPath)/DwC-A_dotnet.Interactive.dll" Pack="true" PackagePath="interactive-extensions/dotnet" />
39+
<None Include="$(OutputPath)/net6.0/DwC-A_dotnet.Interactive.dll" Pack="true" PackagePath="interactive-extensions/dotnet" />
4040
<None Include="..\..\LICENSE" Pack="true" PackagePath="\" />
4141
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
4242
</ItemGroup>

0 commit comments

Comments
 (0)