Asserting the .NET MAUI extension for Visible Studio Code


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

At the moment, we’re excited to announce the primary preview of the .NET MAUI extension, which, paired with C# Dev Equipment, provides you the instruments you could develop your cross-platform .NET cell and desktop apps with VS Code on Home windows, macOS, and Linux.

You possibly can check out the .NET MAUI extension as we speak – 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 gadgets, emulators, and simulators from VS Code. .NET MAUI and C# Dev Equipment borrow some acquainted options from Visible Studio to boost your productiveness, making your cell 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 Equipment extension, you get AI-assisted options equivalent to whole-line completions and starred ideas 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 straightforward to debug and deploy your app to your completely different goal gadgets (Android, iOS, macOS and Home windows). Simply choose your gadget by means of the “Language Standing” popup by hovering over the curly braces { }, deciding on “Debug Goal”, then beginning a debug session (F5).

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

  • On Home windows, you may debug to your native Home windows machine, Android emulators, and Android gadgets
  • On macOS, you may debug regionally in your Mac, on iOS simulators or gadgets, and Android emulators or gadgets
  • On Linux, you may debug to Android emulators and gadgets

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

Getting began with .NET MAUI in VS Code is straightforward. Simply set up the .NET MAUI extension, which mechanically installs the C# Dev Equipment and C# extensions for you. Log in with an present Visible Studio subscription, then open or create a .NET MAUI venture and begin coding! Or you may observe 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 Equipment 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 Equipment 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’ll constantly replace the extension and its options based mostly in your suggestions so we are able to ship an amazing expertise for everybody..

Please share your ideas and report points on this new expertise by means of VS Code’s Assist > Report Subject dialog. Choose whether or not it’s a bug, characteristic 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 may also see all of the ideas and points on each the .NET MAUI extension and C# Dev Equipment at this GitHub repo. Thanks for attempting out this primary preview. We are able to’t wait to listen to what you assume!

Extra in regards to the Visible Studio product household

Visible Studio continues to be our premier C# improvement software, supporting the complete vary of .NET workloads and venture varieties. C# Dev Equipment and the .NET MAUI extensions are thrilling steps for us to deliver .NET improvement productiveness to different components of the Visible Studio product household. For extra data on the newest options added to Visible Studio, try the Visible Studio 17.6 launch announcement.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles