News

What's New in Visual Studio 2019 for Mac v8.7

Microsoft shipped Visual Studio 2019 for Mac version 8.7, boosting functionality around ASP.NET Core, unit testing integration, Xamarin.Forms, Quick Actions/Refactorings and more.

Here's a look at what's new:

  • gRPC and OpenAPI Client Generation: On the ASP.NET Core side of things, developers can generate an API client from an existing OpenAPI or gRPC service, specifically gaining functionality to:
    • generate the client from a local file or URL
    • manage service references
    • regenerate the client code if the service changes
  • Right-Click to Run Unit Tests: Developers can now kick off tests with a right-click in:
    • a C# class file if it contains unit tests
    • the body of a test class
    • the body of a test method

    Also, a right-click to bring up the context menu for the editor now shows two new options: Run Test(s) and Debug Test(s). The announcement post also details:

    • Rules for determining which tests to run
    • Right-click in the solution pad to run tests
    • Configuring keybindings
    • Smarter integration with Unity
  • Xamarin Forms 4.8: There is more support for this v4.8, which primarily focuses on:
    • Stabilizing current features
    • Graduating experimental features to stable
    • Providing Gradient Brush support
    The new Gradient Brush
    [Click on image for larger view.] The new Gradient Brush (source: Microsoft).
  • Quick Actions and Refactorings: These include:
    • Generate comparison operators for types that implement IComparable
    • Generate IEquatable operators when generating .Equals for structs
    • Create and initialize properties or fields for all unused constructor parameters
    • IntelliSense completion in DateTime and TimeSpan string literals
    • Warning and code fix when a suppression operator is present but has no effect
    • Generate properties when generating a constructor in a type

"This release also includes initial support for macOS Big Sur, with the exception of Xamarin support," said Jon Galloway, senior program manager, Visual Studio for Mac, in the Aug. 6 announcement. "macOS Big Sur support for Xamarin is expected in one of the first servicing releases for Visual Studio for Mac 8.7."

The update is available here.

The latest edition of the Mac IDE's Windows counterpart, Visual Studio 2019 v16.7, was also released this week.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube