Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET April 2021 Update - .NET 5.0.5, .NET Core 3.1.14 and .NET Core 2.1.27 #6129

Closed
1 of 2 tasks
rbhanda opened this issue Apr 6, 2021 · 6 comments
Closed
1 of 2 tasks

Comments

@rbhanda
Copy link
Contributor

rbhanda commented Apr 6, 2021

Release Notes
5.0.5
3.1.14
2.1.27

Please report any issues you find with .NET 5.0.5 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 Microsoft's Linux feeds:

Distro 5.0.5 3.1.14 2.1.27
Ubuntu 16.04
Ubuntu 18.04
Ubuntu 20.04
Ubuntu 20.10
Centos 7
Debian 9
Debian 10
Fedora 32
Fedora 33
OpenSUSE 15
SLES 12
SLES15

Note: This list refers to the Microsoft-provisioned feeds (packages.microsoft.com) and does not in any way represent direct availability in distros (eg RHEL, Fedora).

Known Issues

If there are any issues with this release we will track them here and check issues off as they're resolved. See the linked issues for details on progress and resolution details.

@fuchanghao
Copy link

Can't get ".NET Desktop Runtime 5.0.5" by windows update and My Visual Studio 16.9 still install ".NET SDK 5.0.201"

@QHQuach
Copy link

QHQuach commented Apr 8, 2021

I am getting below unit test execution error both in Visual Studio IDE 2019 (16.9.3) and command line through vstest.console.exe (16.9.1). This happens even after installing the latest .NET 5.0.5 (5.0.202 SDK). Any idea?

I even tried to debug into the Newtonsoft 13.0.1 but only to find the constructor just quits and throws the exception. The module runs fine during runtime.

The failing unit test project is using the following:

  • xunit (2.4.1)
  • xunit.runner.visualstudio (2.4.3)
  • NSubstitute (4.2.2)
  • mstest.testframework (2.2.3)
  • Mircrosoft.NET.Test.Sdk (16.9.4)
  • Microsoft.QualityTools.Testing.Fakes (16.7.4-beta.20330.2)

It is testing components/apps that are .NET Core 2.1 targeting .NET FW 4.6.2. Below is the stack trace from the unit test command line execution

Error Message:
System.InvalidProgramException : Common Language Runtime detected an invalid program.
Stack Trace:
at Newtonsoft.Json.Linq.JContainer..ctor(JContainer other)
at Newtonsoft.Json.Linq.JObject..ctor(JObject other)
at Newtonsoft.Json.Linq.JObject.CloneToken()
at Newtonsoft.Json.Linq.JContainer.EnsureParentToken(JToken item, Boolean skipParentCheck)
at Newtonsoft.Json.Linq.JContainer.InsertItem(Int32 index, JToken item, Boolean skipParentCheck)
at Newtonsoft.Json.Linq.JContainer.TryAddInternal(Int32 index, Object content, Boolean skipParentCheck)
at Newtonsoft.Json.Linq.JContainer.Add(Object content)
at Newtonsoft.Json.Linq.JArray.Add(JToken item)
at MyUnitTests.<MyTest_HasNeededData_ReturnsData>d__45.MoveNext() in XXXXXXXXXXXXXXXXXXXXXXX:line 643
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

@rbhanda rbhanda changed the title .NET April 2021 Update - 5.0.5 .NET April 2021 Update - .NET 5.0.5, .NET Core 3.1.14 and .NET Core 2.1.27 Apr 13, 2021
@XieJJ99
Copy link

XieJJ99 commented Apr 14, 2021

Version 3.1.14 is missing in the release json: https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/3.1/releases.json .

@rbhanda
Copy link
Contributor Author

rbhanda commented Apr 14, 2021

Hello @XieJJ99 releases.json is updated for 3.1

@mikeharder
Copy link

dotnet-runtime-2.1 on Ubuntu 18.04 installs 2.1.26 instead of 2.1.27: dotnet/runtime#52331

@rbhanda rbhanda unpinned this issue May 11, 2021
@rbhanda
Copy link
Contributor Author

rbhanda commented May 11, 2021

closing in favor of #6247

@rbhanda rbhanda closed this as completed May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants