Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Upgrade dependencies and target frameworks #477

Merged
merged 9 commits into from
Nov 26, 2019
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ci/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM microsoft/dotnet:2.1-sdk
FROM mcr.microsoft.com/dotnet/core/sdk:3.0

# Install dependencies:
RUN apt-get update && apt-get install -y \
Expand Down Expand Up @@ -26,6 +26,6 @@ WORKDIR /opt/neo-cli-github
# Build the project
RUN dotnet restore
RUN dotnet publish -c Release
RUN mv bin/Release/netcoreapp2.1/publish /opt/neo-cli
RUN mv bin/Release/netcoreapp3.0/publish /opt/neo-cli

WORKDIR /opt
5 changes: 3 additions & 2 deletions neo-cli/neo-cli.csproj
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Copyright>2016-2019 The Neo Project</Copyright>
<AssemblyTitle>Neo.CLI</AssemblyTitle>
<Version>3.0.0-preview1</Version>
<Authors>The Neo Project</Authors>
<TargetFramework>netcoreapp2.1</TargetFramework>
<TargetFramework>netcoreapp3.0</TargetFramework>
<AssemblyName>neo-cli</AssemblyName>
<OutputType>Exe</OutputType>
<PublishReadyToRun>false</PublishReadyToRun>
<PackageId>Neo.CLI</PackageId>
<RootNamespace>Neo</RootNamespace>
<Company>The Neo Project</Company>
Expand Down