Official VS Code Support for .NET MAUI on Windows, macOS, and Linux!

preview_player
Показать описание

In this video I will show you the new Visual Studio Code extension and how to get start yourself.

💝 Join this channel to get access to perks:

Disclaimer: this channel is done on personal title, in my free time, and not officially affiliated with or endorsed by Microsoft (my employer) in any way. Opinions and views are my own.

🔗 Links

⏱ Timestamps
0:00 - .NET MAUI Support in VS Code
0:35 - C# Dev Kit and .NET MAUI Extension
2:04 - Install .NET MAUI VS Code Extension
5:45 - Setup .NET MAUI Environment
7:43 - Create new .NET MAUI app from VS Code
9:55 - Running & Debugging the App on Windows
10:55 - Selecting Emulators
12:15 - Pro-Tip: Change TargetFramework
12:44 - VS Code Extension on macOS
14:36 - What Do You Think?! Find More Here.

🙋‍♂️ Also find my...

#maui #vscode #linux #macos #windows #dotnet #dotnetmaui
Рекомендации по теме
Комментарии
Автор

I’m hoping this “fresh start” in VS Code will reduce the random errors that can appear when doing MAUI dev in VS 2022 (Xamarin had similar quirks where it starts showing errors that don’t exist)

Great this exists but take time with it to avoid the kind of randomness VS has suffered with when it comes to cross platform app dev.

I thought the C# Dev Kit extension couldn’t be installed with a Community license, but sounds like it’s fine from your video 🙌

DanielHarrisCodes
Автор

Thank you for this video! My .NET Meteor extension has fewer and fewer features. xaml intellisense and xaml hotreload are left in it😮😅

nikitaromanov
Автор

Very urgent and important question. Will there be support to write native apps in VSCode for IOS and Android WITHOUT using Maui. I.e storyboard in IOS and xml layouts in Android. VS Studio for Mac is being retired and I have always used VS for Mac because of integration with Interface Builder.

gavingrant
Автор

Now MAUI just needs to add support for mouse and keyboard events.

GuildOfCalamity
Автор

Hey Sir 🙂
I would like to suggest a video series on how to create C# bindings for Swift and Kotlin Views. It's pretty tricky stuff, and I bet there are more devs than me that want to reuse custom native views. 🙏😊

larscwallin
Автор

I hope this marks the official end of VS for Mac and more developer resources for the Maui experience in VS code.
Because what we have with this right now are 2 half-baked solutions :/
Vs 4 Mac's support of the new .Net 8 previews can best be described by the word 'cumbersome' and it was always way more sluggish than VS Code.
On the other hand the VS Code extension has barely any intellisense for Xaml, no Hot Reload, no properties editor for csproj files, etc. and it's still in preview.

I would love if there was a definitive IDE/way to develop in Maui and I'd take VS code over VS for Mac any day, but what we can't afford are split resources, *especially* in the MAUI sector where the resources are already way too few!

helmutschmidtct
Автор

The problem is that intellisence on XAML is not working.Thats only only thing we need to work in vscode. we can run the app with watch run if the intellisence was working

muhammedthanseer
Автор

It's really great, super cool ❤ hopefully the xaml hot reload will come soon!

ademineshat
Автор

Crikey.
Published 7/11/2023, 17:07:04
Last released 7/11/2023, 17:13:38
Last updated 7/11/2023, 17:40:03

I know I'm normally one to hit upgrade quick.. But even by my standards thats quick :D (I'd have been faster but needed to update vscode first !) .

davefb
Автор

Does the maui extension support physical device builds instead of just emulators?

ryandemboski
Автор

VS Code is cool. 😎 Does it support .NET 8 on Mac?

marsgal
Автор

I wonder if we can then install and use some older MAUI workloads in VSCode on Mac? Because the latest push us to use XCode 14.3 minimum, but for me personally it is impossible as I have MacAir 17 and it cannot run the lates macOS which is required to install XCode 14.3 - so I am stuck unless I update the Mac...

eventially I must do it of course, but for now I pushed to only use Android and cannot run iOs simulator or build MAUI for Mac. As far as I know Visual Studio Community edition installs workloads on Mac automatically and we cannot switch to older VS version as well (unless it is Pro), so this is why I was wondering if we can manually install MAUI workloads with an older version which runs with XCode 14.2 and run it with Visual Studio Code... is it possible or not?

Thanks for great video and super awesome news by the way!

ArkFen
Автор

I'm trying to adapt VSCode. In VS Code while debuging we are not able to copy the long text content from copy Value. This is a problem

akshayjain
Автор

Totally off topic but relative to VS Code. Is there an extension or setting in VS Studio 2022 for the editor code samples like in VS Code? I love all the code shortcuts in VS Code and would love to have them in VS Studio as well. Ex. like prop (tab) in VS Studio. There are thousands of shortcuts for html, c@, javascript, etc. in VS Code.

btigenie
Автор

Unfortunately, the Solution explorer does not appear on VS Code for Mac

oliviermatrot
Автор

Hi, what's the correct suggested way to install Android SDK and emulator for .MAUI in VS Code? I've tried it both with Android Studio and command line tools, but saw errors when it came to accepting android licenses and building the default MAUI app.

avocadopictures
Автор

Can you use MAUI to create a desktop app directly under Linux without a VM!?

Eres_estúpido
Автор

Do you know if Remote Device/Simulator is supported for VS Code? Having a blast with it on Windows, hoping to use it to remote test on my mac.

stefandebruin
Автор

vscode is becoming more and more like regular VS

rickrdosanjos
Автор

Hello, since yesterday I have opened the "simulator" on Mac, it looks as if the APP was open but I cannot see it.

Has it happened to you? :(

Huguito.Sr