Is .NET Core 3.0 supported?

Is there any support for .NET Core 3.0?

I have the following in my project’s .travis.yml:

mono: none
dotnet: 3.0.0

and it fails complaining:

The command "sudo apt-get install -qq dotnet-sdk-3.0=3.0.0*" failed and exited with 100 during .

ping @joshua-anderson @akoeplinger

Please link to a build, copypasting things here gives incomplete information.

E.g. if you are using Trusty, it’s indeed not available:

Here is the link to the project build:

https://travis-ci.org/Genometric/GeUtilities/builds/601649445?utm_source=github_status&utm_medium=notification

As per https://github.com/travis-ci/travis-build/blob/master/lib/travis/build/script/csharp.rb#L152 and https://packages.microsoft.com/ubuntu/16.04/prod/dists/xenial/main/binary-amd64/Packages, the only available version of dotnet-sdk-3.0 is 3.0.100-1 which 3.0.0* doesn’t match.

So use a non-fully-qualified version:

dotnet: 3.0

this will cause the installation logic to request dotnet-sdk-3.0, without a specific version number.


@Joshua-Anderson, according to https://dotnet.microsoft.com/download/dotnet-core/3.0, 3.0.100 is the latest release of .NET Core 3.0.0 SDK (as of this writing). So when seeing 3.0.0, the logic should request the package in a way that matches it.

1 Like

Thanks.

Still failing.
Doesnt work.

It worked for me for weeks with this configuration

language: csharp
jobs:
include:
- os: linux
dotnet: 3.0.100
mono: none
- os: osx
osx_image: xcode11
dotnet: 3.0.100
mono: none
sudo: false # use the new container-based Travis infrastructure
script:

  • dotnet restore ./src/Vlingo.Directory.sln;
    dotnet build ./src/Vlingo.Directory.sln;
    dotnet test ./src/Vlingo.Directory.Tests/Vlingo.Directory.Tests.csproj;

And now it fails with “Unable to locate package dotnet-sdk-3.0”

cc @joshua-anderson @akoeplinger