3.1.2 Release Notes
3.1.2 Download
3.0.3 Release Notes
3.0.3 Download
2.1.16 Release Notes
2.1.16 Download
Blog posts
Please report any issues you find with 2.1.16, 3.0.3 or 3.1.2, either responding to this issue, creating a new issue or creating a new issue in one of the following repos:
We are experiencing delays in pushing Linux feeds. Here is the list of repositories we are trying to push and as the release is progressing, we will tick them off as each is resolved.
| Distro | 3.1 | 3.0 | 2.1 |
|--|--|--|--|
| Ubuntu 16.04 | X | X | X |
| Ubuntu 18.04 | X | X | X |
| Ubuntu 19.10 | X | X | X |
| Centos 7 | X | X | X |
| Debian 9 | X | X | X |
| Debian 10 | X | X | X |
| Fedora 30 | X | X | X |
| Fedora 31 | X | X | X |
| OpenSUSE 15 | X | X | X |
| SLES 12 | X | X | X |
| SLES15 | X | X | X |
| RHEL 7 / Oracle Linux 7 | X | X | X |
Here is a list of issues that we are tracking and working to resolve with the Feb 2020 release. We'll tick them off as each is resolved. See any linked issue for progress or resolution details.
Hi, we're having issues installing 2.1.16 on Ubuntu 16.04. Are the some dependency issues here?
ubuntu@host:~$ sudo apt-get update && sudo apt-get install -y dotnet-sdk-2.1
Hit:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease
Get:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Ign:4 http://us-east-1.ec2.archive.ubuntu.com/ubuntu precise InRelease
Get:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Ign:6 http://archive.ubuntu.com/ubuntu trusty InRelease
Hit:7 https://packages.microsoft.com/ubuntu/16.04/prod xenial InRelease
Hit:8 http://download.mono-project.com/repo/debian wheezy InRelease
Hit:9 http://download.mono-project.com/repo/debian wheezy-apache24-compat InRelease
Hit:10 https://deb.nodesource.com/node_8.x xenial InRelease
Hit:11 http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2019.2 xenial InRelease
Hit:12 http://us-east-1.ec2.archive.ubuntu.com/ubuntu precise Release
Hit:13 http://archive.ubuntu.com/ubuntu trusty Release
Hit:15 https://packagecloud.io/github/git-lfs/ubuntu xenial InRelease
Fetched 216 kB in 0s (259 kB/s)
Reading package lists... Done
W: http://us-east-1.ec2.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
dotnet-sdk-2.1 : Depends: dotnet-runtime-2.1 (>= 2.1.16) but it is not going to be installed
Depends: aspnetcore-runtime-2.1 (>= 2.1.16) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Seeing the exact same situation on Ubuntu 19.10:
ator@ubuntu:~$ sudo apt-get install dotnet-sdk-3.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
dotnet-sdk-3.1 : Depends: aspnetcore-runtime-3.1 (>= 3.1.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Hey folks, Keep an eye on the Linux repo checklist at the top of this issue. The upload service is really slow today and we're babysitting everything through.
@TaraOverfield in repository dotnet/announcements (issue 151, February 2020 .NET Updates), the link to the Release Notes of .NET Core 3.1.2 doesn't work. It currently links to a file in tag 3.1.1, where it should be 3.1.2.
The correct link is: https://github.com/dotnet/core/blob/master/release-notes/3.1/3.1.2/3.1.2.md
@TaraOverfield in repository dotnet/announcements (issue 151, February 2020 .NET Updates), the link to the Release Notes of .NET Core 3.1.2 doesn't work. It currently links to a file in tag 3.1.1, where it should be 3.1.2.
The correct link is: https://github.com/dotnet/core/blob/master/release-notes/3.1/3.1.2/3.1.2.md
@rbhanda needs to take a look
Going from 3.1.1 to 3.1.2, our app failed to start:
Could not load file or assembly 'System.Data.SqlClient, Version=4.6.1.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
Event log
crit: Microsoft.AspNetCore.Hosting.WebHost[6]
Application startup exception
System.IO.FileNotFoundException: Could not load file or assembly 'System.Data.SqlClient, Version=4.6.1.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
File name: 'System.Data.SqlClient, Version=4.6.1.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
Ok so I am running into this over five times a day, each time it seems to work if I try again in a few minutes. It's turning out to be a major productivity problem when we have multiple image builds per day on cluster - each one has to be manually checked and rerun when they fail. I am just wondering if the RPM repo will ever be reliable:
Downloading packages:
https://packages.microsoft.com/centos/7/prod/netstandard-targeting-pack-2.1.0-x64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=packages-microsoft-com-prod clean metadata
Trying other mirror.
Error downloading packages:
netstandard-targeting-pack-2.1-2.1.0-1.x86_64: [Errno 256] No more mirrors to try.
@yoshiya8 check out https://github.com/dotnet/core/issues/4167 for general status on our effort to get the owners of the service to improve its reliability (and updates when we have them).
That said... we haven't heard of flakiness the way you're experiencing it... the typical scenario is a period of downtime (up to 2 hours is "normal" for the RPM repos) but then back up for everyone. I've opened https://github.com/dotnet/core/issues/4298 based on your comment to discuss more since it doesn't sound related to this release.
When migrating from .NET Core 2.2 to 3.1, CORS does not appear to be working properly. I now receive an error saying
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:5000/users/login. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
In the ConfigureServices method, I have:
services.AddCors();
In the Configure method, I have:
app.UseRouting();
app.UseCors(options => options
.AllowAnyOrigin()
.AllowAnyHeader()
);
app.UseAuthentication();
app.UseEndpoints(endpoints =>
{
endpoints.MapControllers();
});
Note: The documentation on Microsoft's website is using outdated code, such as; UseMvc and IHostingEnvironment.
https://docs.microsoft.com/en-us/aspnet/core/security/cors?view=aspnetcore-3.1
hi,
could you please provide upgrade steps from .net core 2.1 to 2.1.16
Seeing the exact same situation on Ubuntu 19.10:
ator@ubuntu:~$ sudo apt-get install dotnet-sdk-3.1 Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: dotnet-sdk-3.1 : Depends: aspnetcore-runtime-3.1 (>= 3.1.1) but it is not going to be installed E: Unable to correct problems, you have held broken packages.
Experiencing the same issue
Is 3.1.2 is deployed to azure. I don't see it in selection.

Hello,
On .NET Core 3.1 page release date of 3.1.2 is changed from February to 16 March 2020.
https://dotnet.microsoft.com/download/dotnet-core/3.1
This was done by mistake? Or maybe there is new invisible release?
Size of runtimes and hosting packges still the same as in February.
How can install .NET 3.1.1 on ubuntu and not 3.1.2 ? Becasuse 3.1.2 has breaking changes
@dicksonkimeu Based on a couple of Stack Exchange answers, you can do the following:
sudo apt update to refresh the list of available versionsapt policy dotnet-runtime-3.1 to see the available package versions.sudo apt install dotnet-runtime-3.1=3.1.1-1 to install the desired version of the package.dotnet --info to verify you installed the right thing.Replace dotnet-runtime with a different dotnet- package depending on what exactly you need.
Also, is the breaking change known? If not, have you reported it?
Seeing the exact same situation on Ubuntu 19.10:
ator@ubuntu:~$ sudo apt-get install dotnet-sdk-3.1 Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: dotnet-sdk-3.1 : Depends: aspnetcore-runtime-3.1 (>= 3.1.1) but it is not going to be installed E: Unable to correct problems, you have held broken packages.
I experience a very similar issue on Ubuntu 20.04. Does anyone know a fix for this?
sudo apt-get install dotnet-sdk-3.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
dotnet-sdk-3.1 : Depends: dotnet-runtime-3.1 (>= 3.1.3) but it is not going to be installed
Depends: aspnetcore-runtime-3.1 (>= 3.1.3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
@michalbilinski See https://github.com/dotnet/core/issues/4360. Ubuntu 20.04 is currently not supported, packages for it should be available on 12 May. In the meantime, you can try the workarounds mentioned in that issue.
@michalbilinski See #4360. Ubuntu 20.04 is currently not supported, packages for it should be available on 12 May. In the meantime, you can try the workarounds mentioned in that issue.
You are right, thanks!
Most helpful comment
Going from 3.1.1 to 3.1.2, our app failed to start:
Event log