3.1.3 Release Notes
3.1.3 Download
2.1.17 Release Notes
2.1.17 Download
Blog posts
Please report any issues you find with 2.1.17 or 3.1.3, either responding to this issue, creating a new issue or creating a new issue in one of the following repos:
Status of availability of SDK on Linux feeds:
| Distro | 3.1.3| 2.1.17
|--|--|--|
| Ubuntu 16.04 | โ
| โ
|
| Ubuntu 18.04 | โ
|โ
|
| Ubuntu 19.10 | โ
| โ
|
| Centos 7 | โ
| โ
|
| Debian 9 | โ
| โ
|
| Debian 10 | โ
|โ
|
| Fedora 30 | โ
|โ
|
| Fedora 31 | โ
|โ
|
| OpenSUSE 15 | โ
| โ
|
| SLES 12 | โ
| โ
|
| SLES15 | โ
| โ
|
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.
This included?
https://github.com/dotnet/efcore/issues/1833#issuecomment-603543685
This included?
https://github.com/dotnet/efcore/pull/20279 was submitted recently. This did not make it to the current release.
Chocolatey fails for 3.1.3, need to worry or not?
https://chocolatey.org/packages/dotnetcore
You have dotnetcore v3.1.2 installed. Version 3.1.3 is available based on your source(s).
dotnetcore not upgraded. An error occurred during installation:
The remote server returned an error: (403) Forbidden. Forbidden
dotnetcore package files upgrade completed. Performing other installation steps.
The upgrade of dotnetcore was NOT successful.
dotnetcore not upgraded. An error occurred during installation:
The remote server returned an error: (403) Forbidden. Forbidden
Regards.
The 3.1.3 Release Notes links to an internal page for macOS Notarization Issues instead of https://docs.microsoft.com/en-us/dotnet/core/install/macos-notarization-issues
Thanks @mletterle - link fixed.
@fwd079 - the Chocolatey packages are community maintained and not "official". We'll check a few things on this side to make sure nothing is obviously out of sorts. After that, it will be up to the maintainers.
Update: If I run choco search dotnetcore, 3.1.2 is reported even though https://chocolatey.org/packages/dotnetcore indicates 3.1.3.
@riezebosch - any thoughts?
something went wrong on publishing the package, it seems available but you cannot download it: https://packages.chocolatey.org/dotnetcore-runtime.install.3.1.3.nupkg
Pushed an update
Just successfully installed 3.1.3 and SDK 3.1.201 via Chocolatey. Looks like that did it. Thanks @riezebosch!
/cc @rbhanda
@fwd079 - the Chocolatey packages are community maintained and not "official". We'll check a few things on this side to make sure nothing is obviously out of sorts. After that, it will be up to the maintainers.
Update: If I run
choco search dotnetcore, 3.1.2 is reported even though https://chocolatey.org/packages/dotnetcore indicates 3.1.3.@riezebosch - any thoughts?
So it was on this side, well I am glad then, since that made sorting out a swift thing, checked this morning and working as expected and installed.
Thanks @riezebosch for looking into it.
Regards.
The following relates to 3.1.3.
When restoring an fsproj project with SDK version 3.1.201, I am seeing this:
/root/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta2-19270-01/build/Microsoft.Build.Tasks.Git.targets(16,5): error MSB4018: The "Microsoft.Build.Tasks.Git.LocateRepository" task failed unexpectedly. [foo.fsproj]
/root/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta2-19270-01/build/Microsoft.Build.Tasks.Git.targets(16,5): error MSB4018: System.TypeInitializationException: The type initializer for 'Microsoft.Build.Tasks.Git.TaskImplementation' threw an exception. [foo.fsproj]
/root/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta2-19270-01/build/Microsoft.Build.Tasks.Git.targets(16,5): error MSB4018: ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Build.Tasks.Git, Version=1.0.0.27001, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified. [foo.fsproj]
If I use 3.1.103, it works fine. Only 3.1.201 has the problem.
I see the same pattern with release 3.1.2. Problem exists in 3.1.200 but it works in 3.1.102. I have tried both in Docker to isolate any VS-related issues.
I wonder if the problem has to do with the version of MSBuild tools/dependencies in .201 and .200 being outdated? But they're good enough for .103 and .102, which I note targets a slightly older Visual Studio.
Command used was dotnet test -c Release foo.fsproj.
I get the same problem running under a Docker build with image mcr.microsoft.com/dotnet/core/sdk:3.1.201. (To my knowledge, there is no sdk:3.1.103, so I can't check that.)
Is there any more information I can provide? Should I file an issue on this somewhere?
$ dotnet --info
.NET Core SDK (reflecting any global.json):
Version: 3.1.103
Commit: 6f74c4a1dd
Runtime Environment:
OS Name: Windows
OS Version: 10.0.18363
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\3.1.103\
Host (useful for support):
Version: 3.1.3
Commit: 4a9f85e9f8
.NET Core SDKs installed:
2.1.202 [C:\Program Files\dotnet\sdk]
2.1.402 [C:\Program Files\dotnet\sdk]
2.1.503 [C:\Program Files\dotnet\sdk]
2.1.508 [C:\Program Files\dotnet\sdk]
2.2.101 [C:\Program Files\dotnet\sdk]
2.2.104 [C:\Program Files\dotnet\sdk]
3.0.100 [C:\Program Files\dotnet\sdk]
3.1.103 [C:\Program Files\dotnet\sdk]
3.1.200 [C:\Program Files\dotnet\sdk]
3.1.201 [C:\Program Files\dotnet\sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.16 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.2.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.2.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.16 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.2.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.2.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.16 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.2.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.2.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 3.1.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 3.1.3 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
[Memory Leak]
System: CentOS 7.2
SDK: 3.1.3
ex:
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Press any key to continue");
Console.ReadLine();
while (1 == 1)
{
List stdout = RunTaskAndReturnStdout("dotnet", $"--version");
}
}
}
public static List RunTaskAndReturnStdout(string fileName, string arguments, string workingDirectory = "")
{
List ret = new List();
try
{
using (Process proc = new Process())
{
proc.StartInfo.FileName = fileName;
proc.StartInfo.Arguments = arguments;
proc.StartInfo.UseShellExecute = false;
if (!string.IsNullOrWhiteSpace(workingDirectory))
proc.StartInfo.WorkingDirectory = workingDirectory;
proc.StartInfo.RedirectStandardOutput = true;
proc.Start();
while (!proc.StandardOutput.EndOfStream)
{
string line = proc.StandardOutput.ReadLine();
// Console.WriteLine(logstr);
if (!string.IsNullOrWhiteSpace(line))
ret.Add(line);
}
return ret;
}
}
catch (Exception ex)
{
return ret;
}
}
Closed in favor of https://github.com/dotnet/core/issues/4675