.NET MAUI XAML Productivity Boost in VS Code is HERE!!! Hot Reload & IntelliSense!!!

  Рет қаралды 7,354

James Montemagno

James Montemagno

Күн бұрын

Пікірлер: 39
@EeKayOnline
@EeKayOnline 4 ай бұрын
Really neat to see this great and IMO necessary productivity bumping feature is on board once again 👍🏻
@guyincognito1985
@guyincognito1985 3 ай бұрын
It's great to see Intellisense and Hot Reload finally make it's way to command line and VS code developers! Looking good James!
@yoanhg421
@yoanhg421 4 ай бұрын
James, I love your videos. I’ve been watching since you were doing Xamarin tutorials. I kinda gave up on MAUI and the whole dotnet a while back because Microsoft can’t get it together. I was never able to get Maui working on Mac. And once it kinda worked they decided to kill VS for Mac and everything took 3 steps back. Now we are on MAUI 8 and it’s already halfway thru its lifecycle. I would really love to see companies stop releasing half baked software in this Early Access Era just so they are first to market or whatever. Keep up the good work. One day when the toolchain actually works your videos will be invaluable. 👍
@zopenzop2225
@zopenzop2225 4 ай бұрын
I wanted this so badly back when I used WPF on a daily basis, it's great they're finally bringing native windows development to VScode too
@Autystyczny
@Autystyczny 3 ай бұрын
it doesn't work for WPF though ;)
@DannysGalaxyTab
@DannysGalaxyTab 4 ай бұрын
Wow, I've been waiting for this. I've been using the Dotnet Meteor extension for Hot Reload but I've had to do most of my stuff in full VS due to the fact I need a little Intellisense to be productive.
@ArkFen
@ArkFen 4 ай бұрын
great news! thanks for good job as always!
@Bedbugs-fp8hg
@Bedbugs-fp8hg 4 ай бұрын
Maui really getting better and easy ❤
@KTravelet1
@KTravelet1 4 ай бұрын
ugh, still cant get this working with preview version. I'm getting the following error on Mac M1 trying to hot reload on Mac app: "Changes made in project 'MauiApp1 (net8.0-maccatalyst)' require restarting the application: Changes are not allowed with the targeted ARM64 CLR version. Consider switching to .NET 7 or newer."
@akneri9260
@akneri9260 2 ай бұрын
Have you tried updating your .net8 SDK and runtime to the latest version (I think it is 8.0.7)? Since I did, it works perfectly.
@KTravelet1
@KTravelet1 4 ай бұрын
Is this going to work for Maui Blazer? Us non WPF people don’t want to touch/learn XAML.
@JamesMontemagno
@JamesMontemagno 4 ай бұрын
Yup! checkout kzbin.info/www/bejne/f2Wpk6uifpiarLc
@mattrobb3566
@mattrobb3566 4 ай бұрын
Thanks v useful. Any feel for how long it will be before the current pre-release version is released? I am always wary of creating clients apps with pre-release versions.
@JamesMontemagno
@JamesMontemagno 4 ай бұрын
Depends on feedback. To be honest there is so little reason not to flip the switch to try it out. You can go back to stable in 5 seconds.
@dusrdev
@dusrdev 4 ай бұрын
Is there some estimation on when this will work on the release version of the plugins? I find that with the pre-release I have tons of bugs, including that intellisense (even the regular code one), stops randomly, the formatter doesn't account for .editorconfig. and tons more, it is basically unusable...
@JamesMontemagno
@JamesMontemagno 4 ай бұрын
For editorconfig or general intellisense give feedback here: github.com/dotnet/vscode-csharp
@yoanng336
@yoanng336 4 ай бұрын
Is it technically possible that at some point we will have XAML and C# instant hot reload on emulators and real devices?
@JamesMontemagno
@JamesMontemagno 4 ай бұрын
In Visual Studio it works on devices as well. For VS Code it works right now on Android devices and coming soon for iOS devices.
@yoanng336
@yoanng336 4 ай бұрын
@@JamesMontemagno Thanks for your answer! So, it is safe to say that for MAUI development, the best Dx is going to be on windows with visual studio. Do you pair a mac to be able to provision for iOS dev?
@TonyLugg-bf4tq
@TonyLugg-bf4tq 4 ай бұрын
Any chance of getting Pair to Mac and being able to debug on remote devices (not simulators)?
@JamesMontemagno
@JamesMontemagno 4 ай бұрын
Only from VS 2022
@vincenzoriwu2998
@vincenzoriwu2998 2 ай бұрын
Unfortunately, it still doesn't work on Mac, but thank you for the video anyway.
@sabarinathg5704
@sabarinathg5704 4 ай бұрын
Is there is a way to open sln file through the code as a solution rather an editable code file
@JamesMontemagno
@JamesMontemagno 4 ай бұрын
That is the solution explorer I showed in the video. It is part of the c# dev kit
@sabarinathg5704
@sabarinathg5704 4 ай бұрын
@@JamesMontemagno thank you. Finally for the first time I am able to run from VS Code
@conmeomunbencuaso
@conmeomunbencuaso 4 ай бұрын
Does hot-reload work on Blazor hybrid (razor)?
@JamesMontemagno
@JamesMontemagno 4 ай бұрын
C# & Razor Hot Reload for .NET, .NET MAUI, Blazor Hybrid in VS Code!!!!! #dotnet #vscode
@williamliu8985
@williamliu8985 4 ай бұрын
Will these goodies come to WPF?
@dusrdev
@dusrdev 4 ай бұрын
I don't think this is likely, WPF already has previews for the pages and user controls that show in real time as the code changes, obviously not in vscode, rather in visual studio, but all the new features added to vscode are meant to account for the fact that visual studio was never available in macos with the same features as windows, and simplified one that did has been discontinued. Aside from this, wpf inherently does not work on macos, so there's no reason to think many people will even attempt to develop it there.
@williamliu8985
@williamliu8985 4 ай бұрын
@@dusrdev I wonder if this will help unify WPF development into modern .NET development paths, rather than becoming increasingly obsolete and fragmenting .NET UI development tools. If VSCode is what Microsoft is really working towards, I hope WPF can get some love from there, too.
@dusrdev
@dusrdev 4 ай бұрын
@@williamliu8985 I love WPF, but unfortunately it seems Microsoft decided to replace it with Win-UI, which is also what .NET Maui uses under the hood on Windows. Therefore you could use .NET Maui and only target this platform if you wanted to. Alternatively, you could try other frameworks that really use WPF, like Avalonia or Uno. They have tooling of their own which have support for xaml IntelliSense.
@JamesMontemagno
@JamesMontemagno 4 ай бұрын
There is a lot of investment in WPF. As a windows dev you have a lot of great options. i would really watch the sessions from build: kzbin.info/www/bejne/jYOXhWVqobGijNE and kzbin.info/www/bejne/kJvEfWamgZKCq68
@RicardoRojasPena
@RicardoRojasPena 4 ай бұрын
Setting up a dev environment in Linux is not an option yet! I tried in many different Distros and only in Debian and Ubuntu kind of works the maui workload. Forget about Fedora, Arch, openSUSE and all the others. And even when I could install maui-android it is not an option since you will be able to create projects targeting Android platform no iOS so.... IT DOES NOT WORK AT ALL....
@JamesMontemagno
@JamesMontemagno 4 ай бұрын
Fairly well documented and some blogs out there walking through additional setup for devices: techcommunity.microsoft.com/t5/educator-developer-blog/net-maui-on-linux-with-visual-studio-code/ba-p/3982195 Every distro is going to be a bit different for installation. Only android development is available on Linux as documented as iOS/Windows SDKs aren't available there.
@oscarvera7263
@oscarvera7263 4 ай бұрын
Why do you need to install Net Maui on different Linux distros? I don’t see the point of doing that and for obvious reasons developing for Windows or Apple ecosystem from Linux is not possible
@RicardoRojasPena
@RicardoRojasPena 4 ай бұрын
@@oscarvera7263 I just don't want to use windows as my main OS. But I have already a MAUI project (Mobile, Android and iOS) created in windows that I can not that I cannot even compile in Linux. I tried in different diestros, none of them work sin in Linux, I can only install the maui-android workload. Hope you have a better understanding of my first comment.
@directionsys
@directionsys 4 ай бұрын
Nice! So awaited feature
@tanakamawere
@tanakamawere 4 ай бұрын
38th here
Starting .NET MAUI Development in 2024 - What You Need To Know
35:18
James Montemagno
Рет қаралды 75 М.
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 60 МЛН
Всё пошло не по плану 😮
00:36
Miracle
Рет қаралды 4,2 МЛН
Хасанның өзі эфирге шықты! “Қылмыстық топқа қатысым жоқ” дейді. Талғарда не болды? Халық сене ме?
09:25
Демократиялы Қазақстан / Демократический Казахстан
Рет қаралды 354 М.
Kluster Duo #настольныеигры #boardgames #игры #games #настолки #настольные_игры
00:47
.NET MAUI Barcode & QR Code Scanning Like a PRO!
12:03
James Montemagno
Рет қаралды 21 М.
Microsoft FINALLY killed it
6:45
Alex Ziskind
Рет қаралды 661 М.
Material Design & Free Controls for .NET MAUI with UraniumUI
16:30
Gerald Versluis
Рет қаралды 18 М.
Publishing .NET MAUI Apps to the Stores Made Easy
12:19
Gerald Versluis
Рет қаралды 10 М.
Is Blazor Better than React?
14:25
Gavin Lon
Рет қаралды 51 М.
Check and Request Permissions in .NET MAUI
19:48
James Montemagno
Рет қаралды 25 М.
.NET MAUI Signature Pad Complete Guide
15:06
James Montemagno
Рет қаралды 7 М.
Writing C# in VS Code Is Finally Awesome!
7:48
Nick Chapsas
Рет қаралды 177 М.
Dependency Injection with .NET MAUI Explained! Full Beginner's Guide
19:18
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 60 МЛН