2 min

Tags in this article

, ,

Microsoft has released Visual Studio 17.9 Preview 2. The new version should improve development with .NET and C++ on the platform.

The update helps users of the development environment spend less time debugging. For this purpose, the Live Property Explorer (LPE) tool will support .NET MAUI. Developers can now inspect XAML properties during debugging, performed in conjunction with XAML Live Preview and Live Visual Tree.

The LPE gives developers easy access to the properties and allows them to modify them. This is useful when looking at debug issues but also, for example, when optimizing performance or investigating where a property is defined.

To use the LPE, developers should debug an app (F5). Then, they select “Debug,” “Windows” and “Live Property Explorer” in sequence. After the LPE is opened, viewing and editing properties live in a .NET MAUI app is possible.

Adobe Adobe Adobe Adobe Adobe Adobe.

C++

For C++, Visual Studio 17.9 Preview 2 introduces new features related to the #include-directive. For example, in the new development environment version, it is possible to visualize how often each #include-directive is referenced in code. Then, a developer can view a specific reference by clicking on the reference counter on top of the directive. The directive can also be navigated by double-clicking the reference in the list.

Finally, Microsoft is adding a #include diagnostics build time. This feature allows developers to see the compile time of #include directives if they have run Build Insights.

Tip: Microsoft’s Phi-2: a small AI model that competes with LLMs from Google, Meta