News

Visual Studio for Mac Now Fully Supports Xamarin.Forms Development with .NET Standard

It's goodbye to Portable Class Library projects and hello to .NET Standard Library projects for Xamarin.Forms development in the new Visual Studio for Mac version 7.5 Preview 1.

.NET Standard formally specifies .NET APIs that should be available on all .NET implementations in order to ensure greater uniformity across the .NET ecosystem.

Formerly, cross-platform development was accomplished via Portable Class Library (PCL) projects, which have been subsumed by .NET Standard. Xamarin's documentation says of .NET Standard: "You can think of it as a simplified, next generation of Portable Class Library. It is a single library with a uniform API for all .NET Platforms including .NET Core. You just create a single .NET Standard Library and use it from any runtime that supports .NET Standard Platform."

In the first VS for Mac 7.5 preview -- an IDE for developers on macOS who are building mobile, Web and cloud apps -- .NET Standard officially replaces PCLs.

"Mobile developers will be happy to see that .NET Standard Library projects are now a fully supported option for sharing code between platforms when building Xamarin.Forms solutions," Xamarin chief Miguel de Icaza said in a blog post today (March 21). "This release brings numerous bug fixes to improve the .NET Standard developer experience (see the release notes) and we've updated the Xamarin.Forms project templates to all use these library projects by default, instead of Portable Class Library projects."

Other highlights cited by de Icaza include:

  • Adding new editor support for Razor, JavaScript and TypeScript.
  • Improving Azure Functions development with support for the .NET Core Preview SDK and with the introduction of new Azure Functions templates.
  • Adding support for the latest releases of .NET Core and C#, with .NET Core 2.1 Preview and C# version 7.2.
  • Continuing to improve IDE performance and stability.

Regarding the latter, de Icaza said "We continue our push to improve performance and reliability in the IDE. This release focuses on improving IDE startup time, which has decreased by as much as 50 percent for some users. We're also fixing top issues and crashes as they come into the Developer Community site -- please keep the feedback coming!"

That feedback can be sumbitted on the Developer Community site.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Mastering Blazor Authentication and Authorization

    At the Visual Studio Live! @ Microsoft HQ developer conference set for August, Rockford Lhotka will explain the ins and outs of authentication across Blazor Server, WebAssembly, and .NET MAUI Hybrid apps, and show how to use identity and claims to customize application behavior through fine-grained authorization.

  • Linear Support Vector Regression from Scratch Using C# with Evolutionary Training

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the linear support vector regression (linear SVR) technique, where the goal is to predict a single numeric value. A linear SVR model uses an unusual error/loss function and cannot be trained using standard simple techniques, and so evolutionary optimization training is used.

  • Low-Code Report Says AI Will Enhance, Not Replace DIY Dev Tools

    Along with replacing software developers and possibly killing humanity, advanced AI is seen by many as a death knell for the do-it-yourself, low-code/no-code tooling industry, but a new report belies that notion.

  • Vibe Coding with Latest Visual Studio Preview

    Microsoft's latest Visual Studio preview facilitates "vibe coding," where developers mainly use GitHub Copilot AI to do all the programming in accordance with spoken or typed instructions.

  • Steve Sanderson Previews AI App Dev: Small Models, Agents and a Blazor Voice Assistant

    Blazor creator Steve Sanderson presented a keynote at the recent NDC London 2025 conference where he previewed the future of .NET application development with smaller AI models and autonomous agents, along with showcasing a new Blazor voice assistant project demonstrating cutting-edge functionality.

Subscribe on YouTube