Visual Studio 2022 17.3 is now available!
We are happy to announce that Visual Studio 2022 17.3 has been released and is now generally available. At Microsoft, we thrive on getting feedback and experiences from those using Visual Studio and continually work to improve the product based on this feedback. Visual Studio 2022 17.3 comes with new features such as .NET MAUI GA tooling, Azure Container Apps and more as you’ll see below.
17.3 also adds new features as suggested in Developer Community by you! Here’s a list of the items that we are shipping as part of this release and love how we’re adding new functionality based off these suggestions:
- Add “Update All” button to Visual Studio Installer page
- Add drag and drop capability to breakpoints
- Reopen closed tab
- Compress Uploaded Memorydump from feedback System
- Limit CPU usage of Visual Studio during C++ build
- Detect unguarded dereferences of std::optional with static analysis
.NET Multi-platform App UI
Today we are excited to announce that .NET Multi-platform App UI (.NET MAUI) has graduated from preview in Visual Studio and is now available in the release channel of Visual Studio 2022 on Windows. You now have full access in the stable product to productivity features that will help you build quicker and ship your .NET client apps more efficiently to Android, iOS, macOS, and Windows from a single codebase.
We’ve built tools to help you develop your .NET MAUI apps without slowing you down. Hot Reload, Live Visual Tree and XAML Live Preview speed up your development time by allowing you to apply code changes and see them immediately. With XAML Hot Reload you can make changes to your UI and see them in the running app right away. With .NET Hot Reload you can make changes to your code, save, and see those changes as well.
Develop apps for Microsoft Teams
Using Microsoft Teams as a platform for building apps, you can extend Teams for your app solutions. Teams Toolkit for Visual Studio makes it simple to get started with apps that embed UI in a tab, notify a channel with a customized message, trigger a task from a chat command, and more.
Quickly build a Teams app that can post a notification to a chat or channel from an ASP.NET Web API or Azure Function trigger using the Microsoft Teams App project template and selecting the Notification Bot application type. The Command Bot option makes it simple to build an app that can respond to chat commands and display a customized message in a chat or channel. Teams Toolkit helps automatically configure Bot Framework with your Teams app – create the project, use Teams Toolkit to configure the dependencies, and Start Debugging (F5) to see the app running in a Teams web client.
If you’re ready to give it a try or learn more, check out our walk-through on building a notification bot with Teams Toolkit for Visual Studio.
The C++ team has addressed some of your top asks in 17.3. Your feedback that we should limit CPU use during C++ builds led to a new feature to enable low priority builds in Visual Studio. Based on your feedback we also introduced new static analysis checks on std::optional to guard against undefined behaviors.
We have also been working hard on performance enhancements for C++ developers. In 17.3 you will find that Visual Studio indexes and colorizes your C++ code faster than ever. Amongst the improvements seen is a 2X speed improvement in indexing a new C++ Unreal Engine 5 solution.
For cross platform focused C++ developers, you will find your remote SSH target is now available in the Visual Studio integrated terminal. In the upper left corner of the integrated terminal, you can click on the SSH connection selected and see the profile dropdown entries available that show connections enumerated from your Connection Manager.
Azure Container Apps
Visual Studio now supports deploying to Azure Container Apps, either on demand (right-click > Publish) or by setting up CICD via GitHub Actions.
Azure Container Apps enables you to run microservices and containerized applications on a serverless platform. With Container Apps, you enjoy the benefits of running containers while leaving behind the concerns of manually configuring cloud infrastructure and complex container orchestrators.
Visual Studio will help you choose existing Azure resources, or create new ones to be used to deploy your app. It will also build the container image using the Dockerfile in the project, push this image to ACR, and finally deploy the new image to the container app selected.
To get started, right-click on your project node in Solution Explorer and select Publish. Pick Azure as the deployment target and Azure Container Apps will be one of the options available to you.
Live Unit Testing
Live Unit Testing now scales better for larger solutions by making the builds scoped to only what is needed and building projects in parallel. Other improvements to the Live Unit Testing build mechanism provide for more reliable builds and support for a wider variety of solutions. It is now easier to get your solution set up for live unit testing with the introduction of a setup wizard to configure Live Unit Testing in just a few steps. Other improvements include the ability to cancel redundant test runs and making it easier to understand progress by surfacing operations and errors in the Live Unit Testing Window status bar.
To get started, navigate to Test > Live Unit Testing > Start in Visual Studio.
To learn more, visit aka.ms/NewLiveUnitTesting
Take a look at What’s New in Visual Studio under Help > What’s New or by updating Visual Studio. https://devblogs.microsoft.com/visualstudio/whats-new-vs/
Line-staging is now supported with the ability to stage specific lines and/or chunks of code right from the editor and the diff view. To get started, stage one of your recent changes by selecting the corresponding color margin and utilizing the Peek Difference UI to stage your change.Read our blog post to learn more and share your feedback.
Show Tabs in Multiple Rows
We’ve added the capability to wrap tabs into multiple rows based on community request, so you can have more horizontal tabs open at a time, this was a top Developer Community feedback suggestion and you can find more details on the blog post here.
Take a look at a few highly requested improvements in IEnumerable visualizer like Filtering, Theming, and CSV export. You can read more about these improvements on our blog here.
Reopen Closed Documents
You can now re-open the last tab you closed by right-clicking on a tab, using the Ctrl+K, Ctrl+Z keyboard shortcut, or navigating to the menu item under Window > Restore Closed Tab.
Next up, Visual Studio 2022 17.4
We are also releasing the first preview of our next release, Visual Studio 2022 17.4 Preview 1. Version 17.4 will be the first version of Visual Studio generally available as a native Arm64 application. It will also be the third long term servicing channel (LTSC) version supported for 18 months from its release. Feedback during our preview cycle is important to meeting your high expectations at release.
We will follow up soon with a post covering the features in this preview, for now please check the preview release notes. Remember that you can install the preview release of Visual Studio side-by-side with the current GA release.