1. IT-Security >
  2. Programmierung >
  3. Visual Studio 2019 version 16.6 Preview 2 Brings New Features Your Way

ArabicEnglishFrenchGermanGreekItalianJapaneseKoreanPersianPolishPortugueseRussianSpanishTurkishVietnamese

Visual Studio 2019 version 16.6 Preview 2 Brings New Features Your Way


Programmierung vom | Direktlink: devblogs.microsoft.com Nachrichten Bewertung

Visual Studio 2019 version 16.6 Preview 2 comes with several new, exciting capabilities for you to try today.  We recognize that everyone is facing unprecedented stress and concerns with current world events. The Visual Studio team are all working from home and learning how to navigate the challenges that brings to our day-to-day lives.  Alas, even in these uncertain times, the team is extremely excited to bring you this latest update. Visual Studio 2019 version 16.6 Preview 2 comes with several new capabilities for you to try. Also, you have the opportunity to offer feedback in Developer Community.  As you download and try these new features, we would like to extend our warmest wishes to your health and safety through the upcoming weeks.

Version Control

First of all, we are revamping our Git functionality to provide an improved experience when working with code on remote Git hosting services. You can begin working on code by browsing online GitHub or Azure repositories through Visual Studio and cloning them locally. For new projects, you can initialize the Git repository and push it to be hosted on GitHub with a single click. Once the code is loaded in Visual Studio, the new Git tool window consolidates all the Git operations having to do with your code.

Additionally, this feature streamlines the complex navigation for Git that used to live within Team Explorer. The new window minimizes context-switching between tools and applications by focusing on your daily developer workflows with actions like commit, pull, push, stash, and more. From the tool, you can quickly jump to workflows like the new branching experience. Last, there is also a new top-level Git menu to easily find all of your Git commands. This servers as a replacement of the old Teams menu. We continue to work hard to provide a first-class Git and GitHub experience in Visual Studio, and this is just the beginning.

Git Integration Demo
Git Functionality Demo in Visual Studio 2019 version 16.6 Preview 2
Improved Snapshot Debugging Experiences

Based on customer feedback, we wanted to minimize the friction involved in using Snapshot Debugger for the first time. You can now install Snapshot Debugger on Azure App Services (ASP.NET Core 3.1) without requiring a restart. This enables you to debug and diagnose live issues without interruption to your service! Attaching to Snapshot Debugger with Visual Studio Enterprise requires an install of the Snapshot Debugger site extension on your App Service deployment. This process previously required a restart.

New .NET Async Tool

Visual Studio 2019 version 16.6 Preview 2 has a new .NET Async tool as part of the Performance Profiler suite of tools. This adds ease to understanding and optimizing async/await code in .NET. Basically, you can use this tool to get exact timing information for a variety of tasks including how long they waited to be dispatched to a thread, how long it took to complete, and if the tasks were chained together.

New Multi-target JavaScript/TypeScript debugging and Service Worker Support

The JavaScript/TypeScript debugger now supports debugging service workers, web workers, iFrames, and your page JavaScript all at the same time! In addition, the new debugging experience adds support for debugging your back-end node server applications and client-side JavaScript in the browser simultaneously.

.NET Productivity

Almost always providing new updates, the .NET team has added an explicit cast when an expression cannot be implicitly cast. You can access this functionality by placing your cursor on the error and press Ctrl+ to trigger the Quick Actions and Refactorings menu. The option to Add explicit cast beomes available at that point.

 

Add explicit cast in .NET
Add explicit cast in .NET

 

Another feedback implementation coming into the product is the ability to automatically generate file headers to existing files, projects, and solutions by using an EditorConfig. If you’d like to give this a try, you can add the file_header_template rule to your EditorConfig file. Next, set the value to equal the header text you would like applied.

 

Visual Studio 2019 version 16.6 Preview 2 Automatically Generate File Headers to Existing Files
Visual Studio 2019 version 16.6 Preview 2 Automatically Generate File Headers to Existing Files

 

Once your cursor is on the first line of any C# or Visual Basic file, you can use Ctrl+ to trigger the Quick Actions and Refactorings menu where the option to Add file banner becomes available. From here you can apply the file header of an existing project or solution by clicking Fix all occurences in. We think this adds some great functionality.  Do you?

 

Visual Studio 2019 version 16.6 Preview 2 Add File Banner
Visual Studio 2019 version 16.6 Preview 2 Add File Banner

 

Also in .NET, you can simplify conditional expressions by removing unnecessary code using the new Simplify conditional expression refactoring capability. Once again, Ctrl+ is the pathway to finding the menu option for Simplify conditional expression.  Be sure to give this a try!

 

Visual Studio 2019 version 16.6 Preview 2 Simplify Conditional Expressions
Visual Studio 2019 version 16.6 Preview 2 Simplify Conditional Expressions

 

Convert Verbatim and Regular Strings

Additionally, from the same menu, a new option, Convert verbatim string allows you to convert regular string literals to verbatim string literals. The converse is also true where you can Convert to regular string from verbatim strings.

 

16.6 Preview 2 .NET Convert to verbatim string
Visual Studio version 16.6 Preview 2 .NET Convert to verbatim string

 

Visual Studio 2019 version 16.6 Preview 2 convert to regular string
Visual Studio 2019 version 16.6 Preview 2 convert to regular string

 

ML.NET Model Builder

With the new ML.NET Model Builder, you can easily build and consume machine learning models for text classification, value prediction, recommendation, and image classification in your .NET applications. All you need to do is select your ML scenario and choose your dataset. Model Builder will take care of training models, selecting the best model for your data, and generating the .NET code for consuming the model in your app. You can even scale out to the cloud and take advantage of Azure Machine Learning for image classification models without leaving Visual Studio or .NET.

Updates to the Publish Experience

Publishing now offers a new wizard-like experience for creating new publish profiles. This tool guides you through your various options. Even if some Visual Studio components are missing from your installation, you will still have access to the full set of publishing targets and options. Consequently, any of your missing components will be identified and requested to be installed on demand. The publish profile summary page has also been updated to match the new experience available under the Connected Services tab for configuring dependencies to Azure services as detailed above.

 

WebTools Demo Dev16 6 P2
Configuring Azure Services Emulators in Visual Studio 2019 version 16.6 Preview 2
Additions to C++

We have added Ninja support for CMake for Linux/WSL. Now, you can use Ninja as the underlying generator when building CMake projects on WSL or a remote system. In addition, Ninja is now the default generator when you are adding a new Linux or WSL configuration. In addition, we have added simplified debugging templates for remote CMake debugging.

We have also improved Doxygen & XML comment generation support by adding the /** trigger sequence and enhancing member list tooltips.

Visual Studio 2019 version 16.6 Preview 2 C++ XML Document Commenter
Visual Studio 2019 version 16.6 Preview 2 C++ XML Document Commenter

 

On the same line of adding helpful support, our IntelliSense code linter now underlines code errors and suggests quick fixes in C++ projects. You can enable this tool under Tools > Options > Environment > Preview Features > IntelliSense code linter for C++.

Visual Studio 2019 version 16.6 Preview 2 IntelliSense Linter
Visual Studio 2019 version 16.6 Preview 2 IntelliSense Linter

 

The C++ team has put together blog posts on the Linter and XML commenter if you would like to know more.

In Summary

We have been working hard to keep bringing enhancements to the product. Also, we continue to address any issues brought up in Developer Community, so we invite you to participate with any issues or suggestions. Thank you for giving these features a try! If you’d like additional information on what we are working on next, check out the newly updated Visual Studio 2019 product roadmap. Meanwhile, we hope you and your loved ones stay healthy and safe.

The post Visual Studio 2019 version 16.6 Preview 2 Brings New Features Your Way appeared first on Visual Studio Blog.

...

Externe Webseite mit kompletten Inhalt öffnen



https://devblogs.microsoft.com/visualstudio/visual-studio-2019-version-16-6-preview-2/

Team Security Social Media

➤ Weitere Beiträge von Team Security | IT Sicherheit

  • Using Visual Studio for Cross Platform C++ Development Targeting Windows and Linux

    vom 811.88 Punkte ic_school_black_18dp
    A great strength of C++ is the ability to target multiple platforms without sacrificing performance. If you are using the same codebase for multiple targets, then CMake is the most common solution for building your software. You can use Visual Studio f
  • Get to code: How we designed the new Visual Studio start window

    vom 667.71 Punkte ic_school_black_18dp
    By now, many of you may have noticed a very prominent change to the launch of Visual Studio in Visual Studio 2019 Preview 1. Our goal with this new experience is to provide rapid access to the most common ways that developers get to their code: whether it
  • Get to code: How we designed the new Visual Studio start window

    vom 667.71 Punkte ic_school_black_18dp
    By now, many of you may have noticed a very prominent change to the launch of Visual Studio in Visual Studio 2019 Preview 1. Our goal with this new experience is to provide rapid access to the most common ways that developers get to their code: whether it
  • Making every developer more productive with Visual Studio 2019

    vom 662.61 Punkte ic_school_black_18dp
    Today, in the Microsoft Connect(); 2018 keynote, Scott Guthrie announced the availability of Visual Studio 2019 Preview 1. This is the first preview of the next major version of Visual Studio. In this Preview, we’ve focused on a few key areas, such
  • Android Studio 3.0 Canary 1

    vom 637.64 Punkte ic_school_black_18dp
    By Jamal Eason, Product Manager, Android Just in time for Google I/O 2017, we're providing a sneak peak of Android Studio 3.0 - available to download today on our canary release channel. Android Studio's our official IDE, purpose-built for Android, and we keep increasing our investment. The feature set in Android Studi
  • .NET Core Support and More in Visual Studio 2019 version 16.3 – Update Now!

    vom 620.41 Punkte ic_school_black_18dp
    As we continue to deliver on our mission of any developer, any app, any platform, it’s always an exciting time on the Visual Studio team when we get to launch major features.  Today we’ve released Visual Studio 2019 version 16.3 which contains su
  • ‘Tis the Season for the Visual Studio 2019 v16.4 Release

    vom 605.97 Punkte ic_school_black_18dp
    Giving Tree on Microsoft CampusHere in Redmond, glimpses of holiday cheer are filling our campus buildings as the season shifts to twinkling lights and frosty temperatures.  The Visual Studio team is seizing this time as an opportunity to celebrate the comradery
  • Visual Studio 2019 version 16.6 Preview 2 Brings New Features Your Way

    vom 599.27 Punkte ic_school_black_18dp
    Visual Studio 2019 version 16.6 Preview 2 comes with several new, exciting capabilities for you to try today.  We recognize that everyone is facing unprecedented stress and concerns with current world events. The Visual Studio team are all working fr
  • Performance Improvements in Visual Studio 2019

    vom 574.06 Punkte ic_school_black_18dp
    Performance has been a big focus area for Visual Studio 2019, with improvements in many areas, including: Faster Visual Studio startup Faster branch switching experience in Visual Studio C++ open folder – time to IntelliSense improvements Faster C++ compiler
  • Announcing Visual Studio Online Public Preview

    vom 562.89 Punkte ic_school_black_18dp
    TL;DR Available beginning at Microsoft’s Ignite conference as a public preview, Visual Studio Online provides managed, on-demand development environments that can be used for long-term projects, to quickly prototype a new feature, or for short-term
  • Debug JavaScript in Microsoft Edge from Visual Studio

    vom 530.63 Punkte ic_school_black_18dp
    As you may know, the next version of Microsoft Edge will adopt the Chromium open source project to create better web compatibility and less fragmentation of different underlying web platforms. If you haven’t already, you can try out preview builds of
  • Android Studio 3.0

    vom 502.29 Punkte ic_school_black_18dp
    Posted by Jamal Eason, Product Manager, Android Android Studio 3.0 is ready to download today. Announced at Google I/O 2017, Android Studio 3.0 is a large update focused on accelerating your app development on Android. This release of Android Studio is

Team Security Diskussion über Visual Studio 2019 version 16.6 Preview 2 Brings New Features Your Way