{"id":227225,"date":"2019-11-04T06:00:16","date_gmt":"2019-11-04T14:00:16","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/visualstudio\/?p=227225"},"modified":"2020-11-04T14:46:00","modified_gmt":"2020-11-04T22:46:00","slug":"visual-studio-2019-for-mac-version-8-4-preview-2-now-available","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/visual-studio-2019-for-mac-version-8-4-preview-2-now-available\/","title":{"rendered":"Visual Studio 2019 for Mac version 8.4 Preview 2, now available"},"content":{"rendered":"<p>Today we released the latest preview, Preview 2, of Visual Studio 2019 for Mac version 8.4. This preview comes with several exciting new features which we would love for you to try out. To get the preview:<\/p>\n<ul>\n<li>If you haven\u2019t already, first <a href=\"https:\/\/visualstudio.microsoft.com\/vs\/mac\/\">download and install Visual Studio 2019 for Mac<\/a><\/li>\n<li><a href=\"https:\/\/aka.ms\/vs4mac-preview\">Switch to the preview version<\/a><\/li>\n<\/ul>\n<h2>Updates in this preview<\/h2>\n<p>The focus of this preview is around accessibility improvements and .NET Core and ASP.NET Core. Let\u2019s dive into the details of the updates.<\/p>\n<h2>Accessibility Enhancements<\/h2>\n<p>Ensuring Visual Studio for Mac can be used by all users is important to us and we realize the need to support various assistive technologies to make this happen. Visual Studio for Mac previously had some built-in accessibility features compatible with VoiceOver and other assistive technologies. With the release of Preview 2, we\u2019ve increased the surface area of the IDE accessible by assistive services to include several commonly used parts that were previously inaccessible.<\/p>\n<p>Those using assistive technologies will find general improvements over the entire IDE that include focus order, contrast, reduction of keyboard traps, more accurate VoiceOver navigation and reading, and more. We\u2019ve also rewritten the UI for the debugger to make it accessible with VoiceOver.<\/p>\n<p>Improving accessibility of Visual Studio for Mac is a top priority for our team. While we have made rapid progress in this area recently, we are looking for some real-world users to assist in guiding the work. Try this preview and reach out to us to let us know what scenarios are working well and what and are not. If you would like to directly engage with us on our accessibility work, please email Dominic Nahous, the lead PM for the initiative at <a href=\"mailto:dominicn@microsoft.com\">dominicn@microsoft.com<\/a>. Now let\u2019s move on to discuss the .NET Core specific updates.<\/p>\n<h2>.NET Core 3.1 Preview support<\/h2>\n<p>In this release, we have added support for the latest preview of the .NET Core 3.1 SDK Preview 2. When you install the preview version of the IDE, that version of the .NET Core SDK will be installed automatically. We have full support for .NET Core 3.1 Preview 2 projects including: creating new projects, editing, building, debugging and other features.<\/p>\n<h2>ASP.NET Core Blazor Server Support<\/h2>\n<p>In this release we are adding support for developing and publishing <a href=\"https:\/\/docs.microsoft.com\/aspnet\/core\/blazor\/?view=aspnetcore-3.0\">ASP.NET Core Blazor Server<\/a> applications. If you haven\u2019t heard of Blazor, it\u2019s a framework for building interactive client-side web UI with .NET. Here are some of the advantages of using Blazor.<\/p>\n<ul>\n<li>Write code in C# instead of JavaScript.<\/li>\n<li>Leverage the existing .NET ecosystem of .NET libraries.<\/li>\n<li>Share app logic across server and client.<\/li>\n<li>Benefit from .NET&#8217;s performance, reliability, and security.<\/li>\n<li>Stay productive with Visual Studio 2019 on PC, Linux, and macOS.<\/li>\n<li>Build on a common set of languages, frameworks, and tools that are stable, feature-rich, and easy to use.<\/li>\n<\/ul>\n<p>In Visual Studio 2019 for Mac 8.4 Preview 2 you can create new Blazor server projects as well as get the standard support you would expect such as building, running and debugging Blazor projects. As you can see, the Blazor Server App project template is now available in the New Project dialog.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-227228 size-large\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/11\/vsmac-npd-blazor-1024x743.png\" alt=\"\" width=\"640\" height=\"464\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/11\/vsmac-npd-blazor-1024x743.png 1024w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/11\/vsmac-npd-blazor-300x218.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/11\/vsmac-npd-blazor-768x557.png 768w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/11\/vsmac-npd-blazor.png 1802w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>One of the areas where the team has focused on this release was adding support for editing .razor files. These are the files that you\u2019ll be using when creating Blazor applications. If you\u2019ve edited these files in the Windows version of Visual Studio 2019, then you\u2019ll be very comfortable in Visual Studio 2019 for Mac. Both the Windows and Mac version of the IDE share the same editor for .razor files. You\u2019ll see full colorization and completion support for your .razor files including completions for Razor components declared in the project.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-227229 size-full\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/11\/vsmac-blazor-editor01.gif\" alt=\"vsmac blazor editor\" width=\"902\" height=\"578\" \/><\/p>\n<p>You can also publish Blazor applications directly to <a href=\"https:\/\/azure.microsoft.com\/services\/app-service\/\">Azure App Service<\/a>. And if you don\u2019t have an Azure account to run your Blazor app on Azure, you can always sign up for a free one <a href=\"https:\/\/azure.microsoft.com\/free?ref=visualstudio\">here<\/a> that also comes 12 months of free popular services, $200 free Azure credits, and over 25 always free services.<\/p>\n<h2>Updates to the editing experience<\/h2>\n<p><img decoding=\"async\" class=\"alignnone wp-image-227243 size-full\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/11\/vsmac-blazor-editor-01.png\" alt=\"vsmac blazor editor\" width=\"1764\" height=\"878\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/11\/vsmac-blazor-editor-01.png 1764w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/11\/vsmac-blazor-editor-01-300x149.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/11\/vsmac-blazor-editor-01-768x382.png 768w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/11\/vsmac-blazor-editor-01-1024x510.png 1024w\" sizes=\"(max-width: 1764px) 100vw, 1764px\" \/><\/p>\n<p>As mentioned before, the editor in Visual Studio for Mac now supports full colorization, IntelliSense and completion for .razor files. In addition to adding Blazor support, we\u2019ve been hard at work adding features that have been top requests from our community. The biggest change that you will notice is that we brought back preview boxes for any code changes that may occur from a code fix or analysis suggestion. In the screenshot below, we see a preview of the changes that will occur if I use the \u201cMake Static\u201d codefix provided by Roslyn.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-227244 size-full\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/11\/vsmac-csharp-editor-01.png\" alt=\"vsmac csharp editor\" width=\"1514\" height=\"764\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/11\/vsmac-csharp-editor-01.png 1514w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/11\/vsmac-csharp-editor-01-300x151.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/11\/vsmac-csharp-editor-01-768x388.png 768w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/11\/vsmac-csharp-editor-01-1024x517.png 1024w\" sizes=\"(max-width: 1514px) 100vw, 1514px\" \/><\/p>\n<p>To celebrate the new preview view, we are also providing several new code fixes like the aforementioned \u201cMake Static\u201d as well as the ability to add null checks to each parameter of a method.<\/p>\n<p>Finally, you may have noticed in the screenshots that the coloring looks more like what you may be used to on Visual Studio for PC. We\u2019ve been working to standardize the Visual Studio theme, and we will be making more progress in this area in the releases ahead, so stay tuned!<\/p>\n<h2>Pack support for .NET Core library projects<\/h2>\n<p>When creating .NET Core class libraries, you may be interested in distributing your library to a larger audience. To do this you need to create a NuGet package from your class library. In Visual Studio for Mac we made it very easy to create a NuGet package from a .NET Core library project. You right-click your project and then select the Pack menu option as per the example below:<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-227232 size-large\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/11\/vsmac-pack-1024x561.png\" alt=\"\" width=\"640\" height=\"351\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/11\/vsmac-pack-1024x561.png 1024w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/11\/vsmac-pack-300x164.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/11\/vsmac-pack-768x421.png 768w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/11\/vsmac-pack.png 1243w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>After invoking the Pack menu option for a library project, you will find the NuGet package (.nupkg file) in the output folder. This experience is consistent with that in Visual Studio on PC.<\/p>\n<h2>Download and try today<\/h2>\n<p>If you haven\u2019t already make sure to <a href=\"https:\/\/visualstudio.microsoft.com\/vs\/mac\/\">download Visual Studio 2019 for Mac<\/a> and then <a href=\"https:\/\/aka.ms\/vs4mac-preview\">switch to the preview channel<\/a>. With this release we are hoping that you\u2019ll be able to easily get started with .NET Core 3.1 as well as Blazor Server applications. We encourage you to leave your comments either below in this post or by submitting issues to the developer community via <a href=\"https:\/\/docs.microsoft.com\/en-us\/visualstudio\/mac\/report-a-problem?view=vsmac-2019\">Report a Problem<\/a>.<\/p>\n<p>If you\u2019re interested in upcoming releaseses, you\u2019ll be happy to know that we have recently updated the <a href=\"https:\/\/docs.microsoft.com\/en-us\/visualstudio\/productinfo\/mac-roadmap\">Visual Studio 2019 for Mac Roadmap<\/a> so please take a look and let us know your thoughts.<\/p>\n<p>Make sure to follow us on Twitter at\u00a0<a href=\"https:\/\/twitter.com\/VisualStudioMac\">@VisualStudioMac<\/a>\u00a0and reach out to the team. Customer feedback is important to us and we would love to hear your thoughts. Alternatively, you can head over to\u00a0<a href=\"https:\/\/aka.ms\/feedback\/vsm-home\">Visual Studio Developer Community<\/a>\u00a0to track your issues,\u00a0<a href=\"https:\/\/aka.ms\/vsmac-suggestion\">suggest a feature<\/a>, ask questions, and find answers from others. We use your feedback to continue to improve Visual Studio for Mac 2019, so thank you again on behalf of our entire team.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today we released the latest preview, Preview 2, of Visual Studio 2019 for Mac version 8.4. This preview comes with several exciting new features which we would love for you to try out. To get the preview: If you haven\u2019t already, first download and install Visual Studio 2019 for Mac Switch to the preview version [&hellip;]<\/p>\n","protected":false},"author":357,"featured_media":226537,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[155],"tags":[3743,452],"class_list":["post-227225","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-visual-studio","tag-visual-studio-2019-for-mac","tag-visual-studio-for-mac"],"acf":[],"blog_post_summary":"<p>Today we released the latest preview, Preview 2, of Visual Studio 2019 for Mac version 8.4. This preview comes with several exciting new features which we would love for you to try out. To get the preview: If you haven\u2019t already, first download and install Visual Studio 2019 for Mac Switch to the preview version [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/227225","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\/357"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=227225"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/227225\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/226537"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=227225"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=227225"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=227225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}