4

.NET July 2021 Updates – 5.0.8 and 3.1.17

 3 years ago
source link: https://devblogs.microsoft.com/dotnet/net-july-2021/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

.NET July 2021 Updates – 5.0.8 and 3.1.17

Rahul Bhandari (MSFT)

Rahul

July 13th, 2021

Today, we are releasing the .NET July 2021 Updates. These updates contains reliability and other improvements. See the individual release notes for details on updated packages.

You can download 5.0.8 , 3.1.17 versions for Windows, macOS, and Linux, for x86, x64, Arm32, and Arm64.

Improvements

Windows Arm64

Windows Forms and WPF are now supported on Windows Arm64. We added support for Windows Arm64 with .NET 6 Preview 1 and have since backported it to .NET 5 (with 5.0.8). Windows Forms and WPF work the same on Arm64 as they do on x64. You could already use x86 emulation to run Windows Forms and WPF apps on Arm64, however, there was a performance cost to doing so. With this release, you can your apps natively with full performance.

The .NET 5 SDK was already supported on Windows Arm64 but didn’t include Windows Forms and WPF. It now does.

If you are building an app on x64 and want to target Windows Arm64, you can do so with one of the following approaches:

  • Framework-dependent deployment: dotnet publish -r win-arm64 –self-contained false​
  • Self-contained deployment: dotnet publish -r win-arm64 –self-contained​

You can then copy the app to a Windows Arm64 machine and it will run natively. You can also run dotnet build​ or dotnet run​ on a Windows Arm64 machine to build and/or run apps.

Note: System.Windows.Media.Effects.BitmapEffects is not supported on Windows Arm64.

Visual Studio

See release notes for Visual Studio compatibility for  .NET Core 3.1 and .NET 5.0.

Rahul Bhandari

Software Engineer, .NET

Follow


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK