.NET Core 3.0 Preview

#1

Is there any way to get 3.0 preview working? I’m working on a project that requires C# 8.0 support.

2 Likes
#2

I have the same question.

1 Like
#3

Same here!

1 Like
#4

@kerryjiang @ErikSchierboom

I got it working docker run command with following dotnet test shell command

I make use of Docker Service and Dockerfile

Travis docs

https://docs.travis-ci.com/user/docker#building-a-docker-image-from-a-dockerfile

Build: .NET Core 3.0 Dependency Injection Framework

#6

We can install preview using snaps. (It will always download the latest preview release)
here is gist link https://gist.github.com/iAmBipinPaul/ff94377254bb6467559ea705c84e4bf9

dist: xenial
addons:
  snaps:
  - name: dotnet-sdk
    classic: true
    channel: latest/beta
sudo: required
language: csharp
mono: none
script:
  - sudo snap alias dotnet-sdk.dotnet dotnet
  - dotnet --version

Build log

2 Likes
#7

Yes, iAmBipinPaul’s solution works. Thank you!

1 Like