We added a new code fix that will automatically fix this. There is a new change in the compiler to not allow parameterless constructors inside of structs. The Add Dependency dialog in Connected Services now features a search experience.ĭetails of What's New in this Release of Visual Studio 2022 version 17.2 Preview 1.The new Razor editor now supports the “wrap div” shortcut Shift+Alt+W.We now have a refactoring to convert a normal or verbatim string literal to a raw string literal. In C# 11 we added a new language feature called raw string literals.We added a new refactoring that removes unnecessary lambda expressions and calls the method group directly.Double clicking on inline parameter or type hints will now insert parameter or type names.Quick Info will now display signatures of anonymous delegates.We added support for StringSyntaxAttribute so you will get syntax highlighting in Visual Studio based on the type of data that the string represents.We added a new code fix for parameterless constructors inside of structs.Visual Studio now consumes 64-bit Git for Windows.Azure DevOps connection detection enhancements making it easier to related work items to commits.Line-staging support, a.k.a interactive staging with the ability to stage specific lines and/or chunks of code right from the editor and the diff view.when switching to another application in Windows). If the "Autosave" option is checked, Visual Studio will attempt to save all dirty code documents whenever the Visual Studio application loses focus (e.g. This feature can be accessed via Tools > Options > Environment > Document. Visual Studio can now automatically save code documents whenever the application loses focus.(i.e., after the trace/log message is printed in the output window) If the breakpoint is depedent on tracepoint it hits only after the tracepoint is hit.Now you can set any breakpoint dependent on the tracepoint and viseversa.We added support for Dependent Tracepoint.Released FebruSummary of What's New in this Release of Visual Studio 2022 version 17.2 Preview 1 Visual Studio 2022 version 17.2 Preview 1 Visual Studio 2022 version 17.1 is Available Today!.You can find in-depth information about the Visual Studio 2022 releases in the following posts: The Visual Studio 2022 Blog is the official source of product insight from the Visual Studio Engineering Team. FebruVisual Studio 2022 version 17.2 Preview 1.What's New in Visual Studio 2022 version 17.2 Preview Visual Studio 2022 version 17.2 Preview Releases For more information, see Visual Studio Product Lifecycle and Servicing. Preview Channel is not "go-live" and not intended for use on production computers or for creating production code.