Saying the .NET MAUI extension for Visible Studio Code

on

|

views

and

comments


Final month, we launched the primary preview of C# Dev Package, a light-weight, editor-first expertise that augments your C# improvement in Visible Studio Code with a Answer Explorer, native Take a look at Explorer, AI-powered code authoring, and extra.

Right now, we’re excited to announce the primary preview of the .NET MAUI extension, which, paired with C# Dev Package, provides you the instruments you must develop your cross-platform .NET cellular and desktop apps with VS Code on Home windows, macOS, and Linux.

You may check out the .NET MAUI extension at the moment – tell us what you assume!

Screens screenshot of a computer Description automatically generated

The .NET MAUI extension permits you to develop and debug your app on units, emulators, and simulators from VS Code. .NET MAUI and C# Dev Package borrow some acquainted options from Visible Studio to reinforce your productiveness, making your cellular and desktop improvement pleasant with C# in VS Code.

Code modifying powered by Roslyn

C# modifying is backed by the newly up to date open-source C# Extension, supplying you with highly effective IntelliSense code-completion. Together with the IntelliCode for C# Dev Package extension, you get AI-assisted options reminiscent of whole-line completions and starred solutions as you kind.

A dropdown in a C# text editor showing intelligent autocomplete suggestions from IntelliCode

When modifying your XAML, you get light-weight syntax highlighting and autocomplete that learns out of your habits as you kind.

Debug to any goal

The .NET MAUI extension makes it simple to debug and deploy your app to your completely different goal units (Android, iOS, macOS and Home windows). Simply decide your gadget by way of the “Language Standing” popup by hovering over the curly braces { }, choosing “Debug Goal”, then beginning a debug session (F5).

On this preview, we’ve added the next gadget targets:

  • On Home windows, you possibly can debug to your native Home windows machine, Android emulators, and Android units
  • On macOS, you possibly can debug domestically in your Mac, on iOS simulators or units, and Android emulators or units
  • On Linux, you possibly can debug to Android emulators and units

For extra data on what’s new with .NET MAUI tooling in Visible Studio, see the Visible Studio 17.6 launch weblog put up.

Getting began with .NET MAUI in VS Code is straightforward. Simply set up the .NET MAUI extension, which mechanically installs the C# Dev Package and C# extensions for you. Log in with an present Visible Studio subscription, then open or create a .NET MAUI challenge and begin coding! Or you possibly can comply with the step-by-step walkthrough proper in VS Code:

A screenshot of the dot net maui extension walkthrough in visual studio code

Given C# Dev Package and the .NET MAUI extensions construct on the identical foundations as Visible Studio for a few of its performance, it makes use of the identical license mannequin as Visible Studio. This implies it’s free for people, in addition to academia and open-source improvement, the identical phrases that apply to Visible Studio Group. For organizations, the C# Dev Package and its household of extensions are included with Visible Studio Skilled and Enterprise subscriptions, in addition to GitHub Codespaces. For added particulars see the license phrases.

That is solely Preview 1, and we are going to repeatedly replace the extension and its options primarily based in your suggestions so we are able to ship an important expertise for everybody..

Please share your solutions and report points on this new expertise by way of VS Code’s Assist > Report Concern dialog. Choose whether or not it’s a bug, function request, or efficiency challenge, then choose “An extension” and “.NET MAUI” within the following dropdowns.

A screenshot of the report issue dialog in visual studio code

You too can see all of the solutions and points on each the .NET MAUI extension and C# Dev Package at this GitHub repo. Thanks for making an attempt out this primary preview. We are able to’t wait to listen to what you assume!

Extra concerning the Visible Studio product household

Visible Studio continues to be our premier C# improvement software, supporting the complete vary of .NET workloads and challenge sorts. C# Dev Package and the .NET MAUI extensions are thrilling steps for us to carry .NET improvement productiveness to different components of the Visible Studio product household. For extra data on the most recent options added to Visible Studio, take a look at the Visible Studio 17.6 launch announcement.

Share this
Tags

Must-read

US investigates Waymo robotaxis over security round faculty buses | Waymo

The US’s primary transportation security regulator mentioned on Monday it had opened a preliminary investigation into about 2,000 Waymo self-driving automobiles after studies...

Driverless automobiles are coming to the UK – however the highway to autonomy has bumps forward | Self-driving automobiles

The age-old query from the again of the automotive feels simply as pertinent as a brand new period of autonomy threatens to daybreak:...

Heed warnings from Wolmar on robotaxis | Self-driving automobiles

In assessing the deserves of driverless taxis (Driverless taxis from Waymo will likely be on London’s roads subsequent yr, US agency proclaims, 15...

Recent articles

More like this

LEAVE A REPLY

Please enter your comment!
Please enter your name here