Visual Studio 2019 v16.6 and v16.7 Preview 1 now released

    Visual Studio 2019 v16.6 and v16.7 Preview 1 now released

    Visual Studio 2019 v16.6 and v16.7 Preview 1 now released


    Posted: 19 May 2020

    Microsoft Build 2020 begins today! Our entire Visual Studio team has been eagerly awaiting this virtual event as it represents great effort and dedication from all of our team members and partners. We anticipate the announcements and demonstrations showcased this week will impact your work. Consequently, we and are eager to hear your favorites. The first releases out of our home offices are Visual Studio 2019 version 16.6 and 16.7 Preview 1. Both of these have productivity features to detail in a moment, but we have one more big announcement. Visual Studio Codespaces, our cloud-hosted development environments that allow you to leverage the power of the cloud for your edit-build-debug cycle, is in private preview. The next steps are to learn more about Visual Studio Codespaces and sign-up.

    While you take in a virtual Build 2020 session, why not download our latest version of Visual Studio 2019 and let us know what you think?

    Install Visual Studio 2019

    New in Visual Studio 2019 version 16.6

    First thing to mention are a number of exciting capabilities we have previously outlined in the Visual Studio 2019 version 16.6 preview 2 and 16.6 preview 3 blogs which are generally available today such as:

    • Version Control with revamped Git tooling that provides great experiences for working with code on remote Git hosting services.
    • Improved snapshot debugging experiences that removes the friction in using the snapshot debugger for the first time.
    • .NET Async tool for profiling .NET apps.
    • .NET Productivity Quick Actions and Refactorings
    • Web Tools new experience for configuring Azure services and emulators
    • A variety of new C++20 Standard Library features including an initial implementation of <span>. The STL Changelog on GitHub includes a detailed list.

    Updates for C++

    Next, our C++ team would like to highlight the ability to generate Doxygen or XML doc comment stubs automatically by typing either /// or /** above functions, or by using the Ctrl+/ shortcut. These comments now appear in Quick Info, Member List, and Parameter Help tooltips as well.


    Generate Doxygen or XML document comment stubs automatically

    Next, to help you better identify and fix defects as you write and edit your code, we’ve included a new IntelliSense code linter to check your code as-you-type, offer lightbulb actions, and underline problems via squiggles in the editor window. As this is built on top of IntelliSense, it checks focus on easily-detected issues and are available faster than those via our other, more complex analysis tools such as Background Code Analysis using MSVC and Clang-Tidy integration.


    IntelliSense Code Linter

    Windows Forms Designer for .NET Core

    The Windows Forms designer for .NET Core projects is also now available. The designer has all Windows Forms controls except DataGridView and ToolStripContainer which is coming soon. In addition, all other design functionality includes: drag-and-drop, selection, move and resize, cut/copy/paste/delete of controls, integration with Properties Window, events generation and more!

    To enable the designer in Visual Studio 2019, go to Tools > Options > Environment > Preview Features and select the Use the preview Windows Forms designer for .NET Core apps option.


    .NET Core Windows Forms Designer

    New in Visual Studio 2019 version 16.7 Preview 1

    Git Productivity

    Once again, we have continued to make further improvements in the new Git experiences within Visual Studio. We enhanced the branch picker in the Git tool window by adding special icons for remote tracking branches. This allows you to differentiate between local branches and remote tracking branches. We also added special icon indicators to remote branches making it easier to differentiate between these three branch types.


    New Icons for Git Branch Management


    New Icons for Git Branch Management

    C++ Address Sanitizer

    You can start using Address Sanitizer in the MSVC toolset for X64 as well as debug configurations. The ASAN runtime now supports X64 and debug switches /MTd, /MDd, and /LDd. Our C++ blog has more information about how C++ Address Sanitizer can help you find memory corruption errors easily.


    C++ Address Sanitizer in Visual Studio 2019

    .NET Productivity

    The first new addition is a quick action to add a debugger display attribute to a class. This allows you to pin properties within the debugger programmatically in your code. Additionally, there is a new code fix for accidental assignments or comparisons to the same variable.

    To give this feature a try, place your cursor on the class name and use Ctrl+. to trigger the Quick Actions and Refactorings menu. Select Add ‘DebuggerDisplay` attribute. This will add the debugger display attribute to the top of your class and generate an auto method that returns ToString() which you can edit to return the property value you need pinned in the debugger.


    Quick Action to Add a Debugger Display Attribute to a Class

    The next change comes in IntelliSense completion in DateTime and TimeSpan string literals. You can see completion options and explanations as to what each character means with date and time formats including examples. Using Ctrl + Space within the DateTime or TimeSpan string will show you this feature in action.


    IntelliSense completion in DateTime and TimeSpan string literals

    Another option added to the Quick Actions and Refactorings menu, is the ability to add a parameter within the Change Signature dialog. With just a couple of clicks, you can select Change signature. A dialog box will open where you are able to add a type and parameter name. You can chose to make the parameter required or option and set a default value to the call site or introduce a TODO variable into your code. This allows you to visit each error and call site independently to decide which value to pass. If you wish to skip a particular parameter, there is an omit option for added flexibility.


    Adding Parameters through the Change Signature Dialog Process

    IntelliCode

    IntelliCode has been updated in Visual Studio 2019 16.7 Preview 1, and now provides starred recommendations for function arguments. This happens as a natural process while you’re writing C# code. It can’t get easier to give this feature a try. Just start editing your C# code!

    XAML Tooling Improvements WPF, UWP, & Xamarin.Forms

    Coming from our XAML team are several new features for developers who build applications using XAML such as WPF, UWP, and where applicable, Xamarin.Forms. These features include a new color visualizer in the code editor and an early preview of a new XAML Designer feature called Suggested Actions.

    We’d also like to highlight two new features designed to enhance a XAML developer’s ability to detect a binding failure has occurred in their running application. The failure details are shown in a new dedicated panel. Specifically, we’ve added:

    • New XAML Binding failure indicator icon to the in-app toolbar for WPF and UWP applications. This icon will turn red if at least one binding failure is detected. Hovering your mouse over icon will show you the total number failures in the tooltip. Clicking the icon will take you to the new XAML Binding Failures panel.
    • New XAML Binding Failures panel takes the binding failures that were previously only available in the Output window and makes them easy to review in the new dedicated panel. The panel adds features such as sorting, searching, and grouping of similar errors. This panel works for WPF, UWP, and Xamarin.Forms projects. Please note, this requires Xamarin version 4.5.0.266-pre3 or higher.


    XAML Developer Ability to Detect Binding Failures

    Define Playlists Dynamically in Test Explorer

    In our Test Explorer, there is new functionality to define playlists dynamically based on Project, Class or Namespace. This means you can configure a playlist to include everything in one of these selections. Therefore, any new test added to that specific group will automatically be included in your playlist!

    To use this feature, create a playlist by right clicking on a Project, Class or Namespace grouping in the Test Explorer and select Add to Playlist.


    Test Explorer Add to Playlist Option

    Edit what groups are included in the playlist by clicking on the edit button in the tool bar. This will bring up check boxes to modify the groups to your desire. This gives you great flexibility in your testing.


    Test Explorer with Check Boxes for Flexibility

    Accordingly, instead of being a static list of tests, these playlists dynamically update based on the defined rules. If you want to better understand what rules are generating your dynamic playlist, save the playlist file to disk with the Save button and view the rules generated in the XML.


    Test Explorer view XML Rules

    You have complete flexibility to include or exclude individual tests and the playlist. You will be able to either update its dynamic rules or switch back to a static list. Likewise, you can also use traits to define a dynamic group by editing the playlist XML directly.

    Version 16.7: Our Next Servicing Baseline

    When version 16.7 moves to the release channel later this year, it will be the third “servicing baseline” for Visual Studio 2019. Servicing baselines provide large organizations increased flexibility over when they can adopt the new features in minor version updates that are included in the Enterprise and Professional editions. Unlike standard minor version releases like 16.5 and 16.6 which receive servicing fixes only until the next minor update is released, we will offer fixes for servicing baselines for 12 months after the next servicing baseline is declared.

    As 16.4 is the second servicing baseline, it will continue to receive servicing fixes for one year after version 16.7 releases later this year. Full details can be found at Visual Studio Product Lifecycle and Servicing.

    We Look Forward to your Feedback!

    From here, it is time to say how much our teams are always thrilled to have such a vibrant, participatory community. Please continue to stay active in our Developer Community as we look here first for suggestions and issues. Your excitement around our tools help motivate each of us to continually deliver new experiences to fuel your creativity in the developer space. Even if we can’t be together in person for Build 2020 this year, we hope you still have a fabulous experience with virtual sessions, product demonstrations, and the collaboration of our community towards a better world.


    Jacqueline Widdis
    Release Manager, Visual Studio Release Team


    Source: https://devblogs.microsoft.com/visua...-1-ship-today/
    Brink's Avatar Posted By: Brink
    19 May 2020


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:21.
Find Us




Windows 10 Forums