{"id":239577,"date":"2022-09-27T08:00:33","date_gmt":"2022-09-27T15:00:33","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/visualstudio\/?p=239577"},"modified":"2022-10-07T12:54:49","modified_gmt":"2022-10-07T19:54:49","slug":"visual-studio-for-mac-17-4-preview-2-1-is-now-available","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/visual-studio-for-mac-17-4-preview-2-1-is-now-available\/","title":{"rendered":"Visual Studio for Mac 17.4 Preview 2.1 is now available"},"content":{"rendered":"<p><span class=\"TextRun SCXW93672244 BCX4\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW93672244 BCX4\" data-ccp-parastyle=\"heading 1\">We are pleased to announce the second preview release of Visual Studio for Mac 17.4. This release has been focused on addressing feedback from <\/span><span class=\"NormalTextRun SCXW93672244 BCX4\" data-ccp-parastyle=\"heading 1\">customers and on improving the overall experience. If <\/span><span class=\"NormalTextRun SCXW93672244 BCX4\" data-ccp-parastyle=\"heading 1\">you are<\/span><span class=\"NormalTextRun SCXW93672244 BCX4\" data-ccp-parastyle=\"heading 1\"> already using the Visual Studio for Mac Preview release, use the <strong>Visual Studio &gt; Check for Updates\u2026<\/strong> menu to update. I<\/span><span class=\"NormalTextRun SCXW93672244 BCX4\" data-ccp-parastyle=\"heading 1\">f you <\/span><span class=\"NormalTextRun SCXW93672244 BCX4\" data-ccp-parastyle=\"heading 1\">aren&#8217;t<\/span><span class=\"NormalTextRun SCXW93672244 BCX4\" data-ccp-parastyle=\"heading 1\"> using it yet, download it now:<\/span><\/span><span class=\"EOP SCXW93672244 BCX4\" data-ccp-props=\"{&quot;134245418&quot;:true,&quot;335559738&quot;:240,&quot;335559739&quot;:0}\">\u00a0<\/span><\/p>\n<p><div  class=\"d-flex justify-content-center\"><a class=\"cta_button_link btn-primary mb-24\" href=\"https:\/\/visualstudio.microsoft.com\/vs\/mac\/preview\/\" target=\"_blank\">Download Visual Studio for Mac v17.4 Preview 2.1<\/a><\/div><\/p>\n<p><span data-contrast=\"auto\">This blog post summarizes the top changes in this release. You can check out the <\/span><a href=\"https:\/\/aka.ms\/vsmac-preview-release-notes\"><span data-contrast=\"none\">preview release notes<\/span><\/a><span data-contrast=\"auto\"> to learn all about the changes we&#8217;ve made.<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<h2><span data-contrast=\"auto\">Single Click to Restart Debugging<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/h2>\n<p><span data-contrast=\"auto\">Customers have long asked for a convenient way to restart debugging their applications in Visual Studio. We have added a convenient feature, enabling you to restart with a single click. To use this, click on the new restart button on the toolbar (circular arrow icon) when debugging.<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/09\/Screenshot-2022-09-16-at-11.04.30-am.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-239586\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/09\/Screenshot-2022-09-16-at-11.04.30-am.png\" alt=\"An image showing a portion of the toolbar. The window controls, run button, configuration selector and debugger controls are visible. The debugger controls have the four standard buttons, Continue, the Step Over, Step Into and Step Out as well as the new Restart button that sits between Continue and Step Over\" width=\"1032\" height=\"104\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/09\/Screenshot-2022-09-16-at-11.04.30-am.png 1032w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/09\/Screenshot-2022-09-16-at-11.04.30-am-300x30.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/09\/Screenshot-2022-09-16-at-11.04.30-am-1024x103.png 1024w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/09\/Screenshot-2022-09-16-at-11.04.30-am-768x77.png 768w\" sizes=\"(max-width: 1032px) 100vw, 1032px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h2><span data-contrast=\"auto\">Shell Improvements<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/h2>\n<p><span data-contrast=\"auto\">We have continued to improve the shell experience and have brought back the ability to drag and drop documents into side-by-side editors, or to drag them out completely into a floating window.<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/09\/side-by-side.gif\"><img decoding=\"async\" class=\"alignnone size-full wp-image-239588\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/09\/side-by-side.gif\" alt=\"An animated image showing the editor. Two tabs are open and the second tab is foremost. The second tab is dragged and detached from the tab bar. As it is dragged over the editor a split window indicator appears, showing 3 options, left, center and right. The center option is disabled. The tab is dragged over the right split indicator and dropped. A new editor containing the dragged tab opens beside the first editor\" width=\"930\" height=\"514\" \/><\/a><\/p>\n<p><span class=\"TextRun SCXW104904826 BCX4\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun CommentStart SCXW104904826 BCX4\">The Class tool window <\/span><span class=\"NormalTextRun SCXW104904826 BCX4\">has also been missing for a few releases, and it has made a return.<\/span><span class=\"NormalTextRun SCXW104904826 BCX4\"> If it is not displayed it can be opened by the <\/span><\/span><strong><span class=\"TrackedChange SCXW104904826 BCX4\"><span class=\"TextRun SCXW104904826 BCX4\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun TrackChangeDeleteHighlight SCXW104904826 BCX4\">View &gt; Classes<\/span><\/span><\/span><\/strong><span class=\"TextRun SCXW104904826 BCX4\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW104904826 BCX4\"> menu.<\/span><\/span><span class=\"EOP SCXW104904826 BCX4\" data-ccp-props=\"{}\">\u00a0<\/span><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/09\/Screenshot-2022-09-22-at-2.30.45-pm.png\"><img decoding=\"async\" class=\"size-medium wp-image-239587 aligncenter\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/09\/Screenshot-2022-09-22-at-2.30.45-pm-212x300.png\" alt=\"An image showing the class pad. The classes and methods are arranged in a tree structure underneath the root of the solution\" width=\"212\" height=\"300\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/09\/Screenshot-2022-09-22-at-2.30.45-pm-212x300.png 212w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/09\/Screenshot-2022-09-22-at-2.30.45-pm.png 634w\" sizes=\"(max-width: 212px) 100vw, 212px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h2><\/h2>\n<h2><span data-contrast=\"auto\">Editor Improvements<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/h2>\n<p><span data-contrast=\"auto\">The editor has seen several improvements that customers have been requesting. We have enabled users to write and diagnose their code in C#11. This includes raw string literals, generic math support and all the other <\/span><a href=\"https:\/\/learn.microsoft.com\/en-gb\/dotnet\/csharp\/whats-new\/csharp-11\"><span data-contrast=\"auto\">new feature<\/span><span data-contrast=\"none\">s <\/span><\/a><span data-contrast=\"auto\">of the language. We&#8217;ve also made some improvements to the line numbers margin, highlighting the current line in a more apparent way.<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/09\/highlight.gif\"><img decoding=\"async\" class=\"size-full wp-image-239590 aligncenter\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/09\/highlight.gif\" alt=\"An animated image showing a portion of the editor. On the left are the line numbers. The current line number is highlighted in bold as the cursor moves from line to line\" width=\"244\" height=\"290\" \/><\/a><\/p>\n<p><span class=\"TextRun SCXW45694084 BCX4\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW45694084 BCX4\">Additionally,<\/span> <span class=\"NormalTextRun SCXW45694084 BCX4\">we have<\/span><span class=\"NormalTextRun SCXW45694084 BCX4\"> now included a new UI to enable <\/span><span class=\"NormalTextRun SCXW45694084 BCX4\">users<\/span><span class=\"NormalTextRun SCXW45694084 BCX4\"> to quickly see the current line and column <\/span><span class=\"NormalTextRun SCXW45694084 BCX4\">position of the <\/span><span class=\"NormalTextRun SCXW45694084 BCX4\">caret, as<\/span><span class=\"NormalTextRun SCXW45694084 BCX4\"> well as <\/span><span class=\"NormalTextRun SCXW45694084 BCX4\">the ability to <\/span><span class=\"NormalTextRun SCXW45694084 BCX4\">chang<\/span><span class=\"NormalTextRun SCXW45694084 BCX4\">e<\/span><span class=\"NormalTextRun SCXW45694084 BCX4\"> the leading whitespace and line ending of a file<\/span><span class=\"NormalTextRun SCXW45694084 BCX4\">.<\/span><span class=\"NormalTextRun SCXW45694084 BCX4\"> This information can be found in the lower right corner of each text file, but if it is in the way while reading a file<\/span><span class=\"NormalTextRun SCXW45694084 BCX4\">, it can be temporarily hidden by pressing the <\/span><\/span><span class=\"TextRun SCXW45694084 BCX4\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW45694084 BCX4\">Ctrl <\/span><\/span><span class=\"TextRun SCXW45694084 BCX4\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW45694084 BCX4\">key. It can also be enabled\/disabled from the <\/span><\/span><strong><span class=\"TextRun SCXW45694084 BCX4\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW45694084 BCX4\">Preferences &gt; Text Editor &gt; Markers and Rulers<\/span><\/span><\/strong><span class=\"TextRun SCXW45694084 BCX4\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW45694084 BCX4\"> settings<\/span><span class=\"NormalTextRun SCXW45694084 BCX4\"> panel.<\/span><\/span><span class=\"EOP SCXW45694084 BCX4\" data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/09\/editing-state-margin.gif\"><img decoding=\"async\" class=\"alignnone size-full wp-image-239589\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/09\/editing-state-margin.gif\" alt=\"An animated image showing a portion of the editor with some example code. In the bottom right corner is the Editing State Margin which contains the line and column indicators and buttons for the leading whitespace and new line characters. As the cursor moves the Line and Column indicators are updated. When the Line and Column indicators are clicked the Go To Line dialog appears. The leading whitespace button says &quot;Spaces&quot; and when it is clicked a menu pops up with the options &quot;Spaces&quot; and &quot;Tabs&quot; in it. The newline character button says &quot;LF&quot;. When it is clicked a menu pops up with the options &quot;LF&quot;, &quot;CR&quot;, and &quot;CRLF&quot; in it\" width=\"922\" height=\"340\" \/><\/a><\/p>\n<p><span class=\"TextRun SCXW153246226 BCX4\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW153246226 BCX4\">Finally in the editor, we have added a new accessibility feature to change the line spacing of the editor. <\/span><span class=\"NormalTextRun SCXW153246226 BCX4\">Larger line spacings may<\/span><span class=\"NormalTextRun SCXW153246226 BCX4\"> h<\/span><span class=\"NormalTextRun SCXW153246226 BCX4\">elp increase the readability of text for some people.<\/span><span class=\"NormalTextRun SCXW153246226 BCX4\"> The line spacing setting can be found inside the <\/span><\/span><strong><span class=\"TextRun SCXW153246226 BCX4\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW153246226 BCX4\">Preferences &gt; Fonts<\/span><\/span><\/strong><span class=\"TextRun SCXW153246226 BCX4\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW153246226 BCX4\"> panel<\/span><span class=\"NormalTextRun SCXW153246226 BCX4\"> and includes a text preview so users can see what the changes will be.<\/span><\/span><span class=\"EOP SCXW153246226 BCX4\" data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/09\/line-spacing.gif\"><img decoding=\"async\" class=\"size-full wp-image-239591 aligncenter\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/09\/line-spacing.gif\" alt=\"Animated image showing the Line Spacing settings. There is a slider labeled Less on the left and More on the right. Below it is a text area showing some example code. As the knob of the slider is moved towards the right, the spacing between the lines in the text editor gets larger\" width=\"566\" height=\"192\" \/><\/a><\/p>\n<h2><span data-contrast=\"auto\">Install Without Rosetta<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/h2>\n<p><span data-contrast=\"auto\">Users can now install Visual Studio for Mac without needing to first enable Rosetta. This enables many to be able to do .NET development without the need to first enable Rosetta on M1-enabled Macs.<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">While the installer now supports installation on M1 without using Rosetta, some scenarios (especially mobile development) still require Rosetta to function due to limitations of dependencies such as Xcode. The installer will prompt when installing a component that will require Rosetta if Rosetta is not already enabled.<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><span data-contrast=\"auto\">.NET 7 is around the corner!<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/h2>\n<p><span data-contrast=\"auto\">This release of VS Mac includes improved support for the upcoming .NET 7<\/span><span data-contrast=\"auto\">,<\/span><span data-contrast=\"auto\"> including .NET MAUI apps built with .NET 7. We\u2019ve also added support for archiving and publishing your .NET MAUI apps, binding to native iOS libraries, and editing the project properties for your .NET MAUI app. Join us at .NET Conf 2022 (dotnetconf.net) in November for the release of .NET 7!<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><span data-contrast=\"auto\">Please keep sharing your feedback<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/h2>\n<p><span data-contrast=\"auto\">Please continue to share your thoughts and keep sending those <\/span><a href=\"https:\/\/aka.ms\/vsmac-suggestion\"><span data-contrast=\"none\">suggestions<\/span><\/a><span data-contrast=\"auto\"> or <\/span><a href=\"https:\/\/developercommunity.visualstudio.com\/report?space=41&amp;entry=problem\"><span data-contrast=\"none\">problem reports<\/span><\/a><span data-contrast=\"auto\">! You can use the <\/span><b><span data-contrast=\"auto\">Help &gt; Report a Problem<\/span><\/b><span data-contrast=\"auto\"> or <\/span><b><span data-contrast=\"auto\">Help &gt; Provide a Suggestion<\/span><\/b><span data-contrast=\"auto\"> menus to share feedback or go to the\u00a0 <\/span><a href=\"https:\/\/developercommunity.visualstudio.com\/search?space=41&amp;stateGroup=active\"><span data-contrast=\"none\">Visual Studio for Mac Developer Community<\/span><\/a><span data-contrast=\"auto\"> site to vote for your favorites.<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We are pleased to announce the second preview release of Visual Studio for Mac 17.4. This release has been focused on addressing feedback from customers and on improving the overall experience. If you are already using the Visual Studio for Mac Preview release, use the Visual Studio &gt; Check for Updates\u2026 menu to update. If [&hellip;]<\/p>\n","protected":false},"author":75711,"featured_media":238456,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[155],"tags":[452],"class_list":["post-239577","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-visual-studio","tag-visual-studio-for-mac"],"acf":[],"blog_post_summary":"<p>We are pleased to announce the second preview release of Visual Studio for Mac 17.4. This release has been focused on addressing feedback from customers and on improving the overall experience. If you are already using the Visual Studio for Mac Preview release, use the Visual Studio &gt; Check for Updates\u2026 menu to update. If [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/239577","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/users\/75711"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=239577"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/239577\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/238456"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=239577"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=239577"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=239577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}