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

  • Hands On: New VS Code Insiders Build Creates Web Page from Image in Seconds

    New Vision support with GitHub Copilot in the latest Visual Studio Code Insiders build takes a user-supplied mockup image and creates a web page from it in seconds, handling all the HTML and CSS.

  • Naive Bayes Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the naive Bayes regression technique, where the goal is to predict a single numeric value. Compared to other machine learning regression techniques, naive Bayes regression is usually less accurate, but is simple, easy to implement and customize, works on both large and small datasets, is highly interpretable, and doesn't require tuning any hyperparameters.

  • VS Code Copilot Previews New GPT-4o AI Code Completion Model

    The 4o upgrade includes additional training on more than 275,000 high-quality public repositories in over 30 popular programming languages, said Microsoft-owned GitHub, which created the original "AI pair programmer" years ago.

  • Microsoft's Rust Embrace Continues with Azure SDK Beta

    "Rust's strong type system and ownership model help prevent common programming errors such as null pointer dereferencing and buffer overflows, leading to more secure and stable code."

  • Xcode IDE from Microsoft Archrival Apple Gets Copilot AI

    Just after expanding the reach of its Copilot AI coding assistant to the open-source Eclipse IDE, Microsoft showcased how it's going even further, providing details about a preview version for the Xcode IDE from archrival Apple.

Subscribe on YouTube

Upcoming Training Events