.NET 6 Preview 6 Improves Pre-Compilation
Written by Kay Ewbank   
Thursday, 22 July 2021

Microsoft has released .NET 6 Preview 6, the second to last preview before the RC period. The new preview has been tested for Visual Studio 2022, Preview 2, and has added improved pre-compilation handling of code.

.NET was created from a combination of .NET Framework and .NET Core. Microsoft's plan when .NET 5 was announced was that developers would be able to create a single native .NET 5 project to target Windows, Linux, macOS, iOS, Android, tvOS, watchOS and WebAssembly.

net2

The changes in this release are minor, as Richard Lander, Program Manager in the .NET team acknowledged: 

"The Preview 6 is the second to last preview before we enter the RC period. There will be two RCs. This release itself is relatively small, while Preview 7 will be bigger."

The first change of note is a move to Crossgen2 for all existing crossgen scenarios. Crossgen (1 and 2) enables pre-compiling IL to native code as a publishing step. Crossgen2 has been rewritten from scratch and the team says it is already proving to be a superior platform for code generation innovation, including being able to generate code for a broader set of IL patterns.

One thing that didn't make it into this release was supporting x64 emulation on macOS Apple Silicon and Windows Arm64. For this to work, .NET 6 needs to have side-by-side capable installers, and suitable "architecture targeting" with the .NET CLI so it will use the native architecture SDK in all scenarios. At the moment developers will need to choose to install all x64 builds or all Arm64 ones.

Other minor improvements include better discovery and management of workloads via three new commands for .NET SDK Optional Workload, and the enabling of support for W^X memory protection, which is a requirement on Apple Silicon machines and a useful security measure on other operating systems, according to Richard Lander.

.NET 6 Preview 6 is available for download now.

net2

More Information

.NET 6 Preview 6 

Related Articles

Developer Preview Of .NET 6 Released

New In Windows Forms .NET

.NET 5 Ready For Action

.NET Is One With .NET 5

Have Your Say On .NET For Spark

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Amazon Announces Updates To Bedrock and MemoryDB
23/07/2024

Amazon Bedrock and MemoryDB have been improved according to announcements made at Amazon's recent AWS Summit in New York.



Eclipse Releases Theia IDE
27/06/2024

The Eclipse Foundation has released Theia IDE, which they say is created for developers seeking a modern, open, and flexible tool for their coding pursuits. The IDE is based on the Theia Platform, whi [ ... ]


More News

kotlin book

 

Comments




or email your comment to: comments@i-programmer.info