Microsoft Releases Visual Studio 2019 16.5 New Features Pre-Empt

Microsoft recently released Visual Studio 2019 16.5, with the following updates:

NET Mobile Development The first feature discussed is XAML Hot Reload for Xamarin.Forms. This feature accelerates development and makes it easier for developers to build, experiment, and iterate on the user interface of mobile apps.

And you don’t need to rebuild the application every time you adjust the UI, because the changes appear as soon as the application runs. It updates in real time every time you make a change, and if you interact with the application and make changes, the state of the application is not lost.

.NET Productivity

With regard to the efficiency gains of .NET, this release also brings some new features.

One is that you can convert an if statement to a switch statement or a switch expression. Place the cursor over the if keyword and press Ctrl plus to trigger the Quick Action and Refactor menu. Finally, choose to convert to the “switch” statement (Convert to ‘switch’ statement) or to “switch” expression.

Microsoft Releases Visual Studio 2019 16.5 New Features Pre-Empt

IntelliSense

In addition, IntelliSense now supports the completion of an extension method that is not imported. To use this feature, you’ll need to enable this option in Tools, Options, “Text Editor” and “Intellisense”, and then select Show Items in namespaces that are not imported (experimental).

Simplify interpolation

In addition, the new version adds the ability to simplify string interpolation refactoring, which will make string interpolation clearer. Place the cursor over the string interpolation. Press Ctrl plus. Trigger the Quick Action and Refactor menu, and then select Simplify Interpolation.

Microsoft Releases Visual Studio 2019 16.5 New Features Pre-Empt

Extracting local function refactoring converts code snippets from existing methods to local functions, highlighting the code to extract. Still trigger the Quick Action and Refactor menu, and then select Extract Local Features.

Microsoft Releases Visual Studio 2019 16.5 New Features Pre-Empt

The Mepping in C?and .NET

Pinnable Properties is a popular managed code debugging tool that can be used to quickly see the properties of an object. This feature is now available in the DataTips in C? and in the Auto, Local, and Monitoring windows.

Microsoft Releases Visual Studio 2019 16.5 New Features Pre-Empt

A new feature has also been added to debug multithreaded applications. This helps avoid effortable determination of the root cause of deadlocks or other thread-related errors. You can now see which managed thread is holding the .NET object lock in the Location column of the Call Stack window, the “Parallel Stacks” window, and the “Threads” window.

Microsoft Releases Visual Studio 2019 16.5 New Features Pre-Empt

In a previous update, it was possible to debug a process that was running in the Docker Linux container. You can now do the same in the Docker Windows container.

Microsoft Releases Visual Studio 2019 16.5 New Features Pre-Empt

Finally, visual Studio 2019 16.5 also adds debugging support to developers who build applications on the Open Enclave SDK.

Microsoft Releases Visual Studio 2019 16.5 New Features Pre-Empt

Full update list:

https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes#16.5.0