Really neat to see this great and IMO necessary productivity bumping feature is on board once again 👍🏻
@guyincognito19853 ай бұрын
It's great to see Intellisense and Hot Reload finally make it's way to command line and VS code developers! Looking good James!
@yoanhg4214 ай бұрын
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. 👍
@zopenzop22254 ай бұрын
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
@Autystyczny3 ай бұрын
it doesn't work for WPF though ;)
@DannysGalaxyTab4 ай бұрын
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.
@ArkFen4 ай бұрын
great news! thanks for good job as always!
@Bedbugs-fp8hg4 ай бұрын
Maui really getting better and easy ❤
@KTravelet14 ай бұрын
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."
@akneri92602 ай бұрын
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.
@KTravelet14 ай бұрын
Is this going to work for Maui Blazer? Us non WPF people don’t want to touch/learn XAML.
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.
@JamesMontemagno4 ай бұрын
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.
@dusrdev4 ай бұрын
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...
@JamesMontemagno4 ай бұрын
For editorconfig or general intellisense give feedback here: github.com/dotnet/vscode-csharp
@yoanng3364 ай бұрын
Is it technically possible that at some point we will have XAML and C# instant hot reload on emulators and real devices?
@JamesMontemagno4 ай бұрын
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.
@yoanng3364 ай бұрын
@@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-bf4tq4 ай бұрын
Any chance of getting Pair to Mac and being able to debug on remote devices (not simulators)?
@JamesMontemagno4 ай бұрын
Only from VS 2022
@vincenzoriwu29982 ай бұрын
Unfortunately, it still doesn't work on Mac, but thank you for the video anyway.
@sabarinathg57044 ай бұрын
Is there is a way to open sln file through the code as a solution rather an editable code file
@JamesMontemagno4 ай бұрын
That is the solution explorer I showed in the video. It is part of the c# dev kit
@sabarinathg57044 ай бұрын
@@JamesMontemagno thank you. Finally for the first time I am able to run from VS Code
@conmeomunbencuaso4 ай бұрын
Does hot-reload work on Blazor hybrid (razor)?
@JamesMontemagno4 ай бұрын
C# & Razor Hot Reload for .NET, .NET MAUI, Blazor Hybrid in VS Code!!!!! #dotnet #vscode
@williamliu89854 ай бұрын
Will these goodies come to WPF?
@dusrdev4 ай бұрын
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.
@williamliu89854 ай бұрын
@@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.
@dusrdev4 ай бұрын
@@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.
@JamesMontemagno4 ай бұрын
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
@RicardoRojasPena4 ай бұрын
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....
@JamesMontemagno4 ай бұрын
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.
@oscarvera72634 ай бұрын
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
@RicardoRojasPena4 ай бұрын
@@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.