See What’s New in Visual Studio 2019 v16.6 Preview 3!
Today we are excited to reveal some new features in Visual Studio 2019 version 16.6 Preview 3. Despite our challenges of learning how to work from home such as interruptions by kids, pets and internet blips, we continue to deliver new features to you. We are also eagerly preparing for our first virtual Build 2020 conference in May. We’d love to hear from where in the world you’ll be watching! Until the start of the conference, we hope these new features will keep you busy creating the software your imagination designs. Thank you for downloading our preview version, and, as always, we value your feedback through Developer Community.
First up in our new feature list is continual expansion of Git functionality in Visual Studio 2019. To access these additional updates, you can toggle the Preview Feature for New Git user experience under the Tools > Options menu. Unlike the prior experience, when you clone a repository with one solution, Visual Studio 2019 will automatically load the solution after the clone completes. Consequently, this saves you valuable time.
We have also updated the user interface for committing and stashing with an enhanced amend experience for commits. Furthermore, we listened to your Developer Community feedback about remote branch management. Specifically, we have added the requested functionality into the branch dropdown. In addition, you can now create a new branch commit in your repository history.
Finally, we have added several new commands in the top-level Git menu for easy keyboard access. These include Clone repository, view branch history, open repository in file explorer or command prompt, manage remotes, and Git global repository settings.
Visual Studio Terminal
Within the terminal, we have added the ability to change the font face and size via the Fonts and Colors dialog.
Mobile Developer Tools
On the mobile front, XAML Hot Reload is now even faster and maintains more state on your page when you make a change. Your XAML change no longer makes the full-page refresh thanks to the Changes Only Reload setting in Tools > Options > Xamarin > Hot Reload. In Preview, this new reload method can be turned on or off at any time. If you chose to turn it on, you’ll also get the new Live Visual Tree during debugging. Therefore, this lets you see what controls are on the page of your running app!
Additionally, Xamarin.Android developers will notice their UI edits getting easier with new updates to make Android Apply Changes faster.
Microsoft Fakes for .NET Core and SDK-Style Projects
As explained in our documentation, Microsoft Fakes is a mocking framework that helps isolate your tests by “mocking” certain parts of your code with stubs or shims. This mocking helps untangle a test from your product code so it can focus on testing only what it is relevant in each test. Microsoft Fakes now supports .NET Core! You can enable this feature in Tools > Options > Preview Features. You may find you want to migrate your apps and testing suites to .NET Core, and now a large portion of that work is possible.
Wishing You and Yours the Best
As this post concludes, I am reminded of a developer who reached out on LinkedIn. He shared how the release of new features made his time of social isolation bearable. Like many of us, he’d rather create through trying new things. In this spirit, we will continue to prioritize making our product more reliable while still capturing the innovative ideas and suggestions shared on Developer Community. Please feel welcome to participate in our online forums. As always, we wish health and safety to you and those closest to you.