Teams SDK Advances in Visual Studio 2022 v17.3 Preview 3 — Visual Studio Magazine
Teams SDK Advances in Visual Studio 2022 v17.3 Preview 3
Visual Studio 2022 v17.3 Preview 3 shipped this week with a bunch of improvements to the Microsoft Teams Developer Tools (Teams Toolkit), as well as improvements to the IEnumerable debug viewer, updated C++ LLVM tools and more Again.
The Teams Toolkit comes with project templates that provide all the code, files, and configuration needed to help developers get started with a Teams app project. In fact, this is a model tweak that directs the new preview release notes.
“The Microsoft Teams app project template has been improved and now creates different types of Teams apps, including notification bot, command bot, tab app, and message extensions,” said said Microsoft in the notes. “You can now build and debug various Microsoft Teams apps using Teams Toolkit for Visual Studio.”
Microsoft recommends creating a new project using the updated template for all existing Teams apps that were created with previous versions of Teams Toolkit.
Microsoft Teams was obviously a focal point for the development team in this release, as the remaining related notes include:
- You can now choose when to sign in with your M365 identity and save Teams app resources using the Project > Teams Toolkit > Prepare Teams app dependencies menu item.
- Prepare Teams app dependencies will register the Teams app and Bot for your Teams project.
- Updates to manifest.template.json files can be synced to the Teams Developer Portal for local debugging by selecting the “Prepare Teams app dependencies” menu option at any time.
- Updates to manifest.template.json files can be synced to the Teams Developer Portal for remote preview by selecting the Project > Teams Toolkit > Update Manifest
- You can preview the manifest file before synchronization by right-clicking the manifest.template.json file and using the Manifest File Preview menu item.
- Use the Project > Teams Toolkit > Cloud Provisioning menu to create resources in an Azure subscription.
- Use the Project > Teams Toolkit > Deploy to Cloud menu to post code to these resources.
- You can open the Teams app remotely in a browser from the Provision menu using the Preview Teams app menu.
- You can zip the Teams app and generate an app package by selecting the Project > Teams Toolkit > Zip Application Package menu option for sharing and downloading purposes.
IEnumerable debugger viewer improvements
The development team has added some much requested enhancements to the IEnumerable viewer, including filtering, theming, and CSV export.
“The .NET IEnumerable debug viewer is one of our most popular debugging features lately,” said Harshada Hole, debugger program manager, in a July 14 blog post. “This was a much requested feature from developers like you. We released the first version of Visual Studio 17.2. and received an incredibly positive response. You can read all about it here IEnumerable visualizer (microsoft.com ).”
Relevant notes for this include:
- You can now export data from IEnumerable viewers in CSV format. Simply use the drop-down menu in the upper right corner and select CSV.
- The IEnumerable viewer will also allow you to filter the data based on a desired filter string. The Visualizer will return all rows that contain a value that matches the filter string. You can also export filtered and sorted results in CSV/Excel format.
- Starting the 17.3 Preview 3 debugger will automatically reload previous decompiled artifacts such as symbols and PDB files. If you choose to decompile in a previous session, the artifacts will automatically be reloaded for all subsequent sessions and allow you faster access to decompiled sources in the External Sources node. This will still respect your JMC settings.
- The debugger now provides a new option to disable loading of NGEN or ready-to-load (RDR) images for managed code. You can change the settings under Tools > Options > Debugging > General > Prevent using precompiled images when loading module or you can also easily search for settings using any of the keywords in the Visual Studio search bar.
Hole explained how the team came to address key user requests such as filtering, theming, and CSV export in the preview build by soliciting developer feedback.
“One of the best things about the IEnumerable Viewer is that we fully follow leads and suggestions from our customers to make further improvements to this feature,” she said. “After the first release, we asked the developers to rank and prioritize a list of improvements via an in-product satisfaction survey. We received excellent responses to the survey, also via blog comments and reviews. ‘other social media updates.
C++ LLVM Tools
The team has upgraded the versions of LLVM tools that come with Visual Studio to v14. To see what’s available now, go to the “LLVM 14.0.0 Release Notes” and “Clang 14.0.0 Release Notes”.
David Ramel is an editor and writer for Converge360.