How to develop MAUI app with VS Code
Introduction
Towards the end of the summer, Microsoft made the decision to retire a software that I use daily at home: Visual Studio for Mac. You can find more information here and here.
Let’s just say it was not good news for me, Visual Studio for Mac is not comparable to the Windows version but it does its job well, I can manage dotnet projects and app development with MAUI.
Micrsoft proposed the following alternatives to Visual Studio for Mac:
I use VS Code a lot in frontend development and consider it a light and efficient tool that is perfectly integrated with all Microsoft services. So in this article I will show you how to set up VS Code for mobile application development using MAUI.
Installing C# Dev Kit for Visual Studio Code
Installing .NET MAUI extension for VS Code
Recommended by LinkedIn
Create a .NET MAUI App Project
🥳 Congratulations you have just created your first MAUI app with VS Code. You can run and debug it.
There are limitations of course, one of the most important being that XAML and .NET Hot Reload are not yet supported. This should not be a problem to start using VS Code on a personal level, in the business environment I can only recommend switching to Rider for now.
If you think your friends/network would find this useful, please share it with them. I’d really appreciate it.
Thanks for reading!
Feel free to explore more of my articles on my blog www.ottorinobruni.com for additional insights. Your feedback and comments are always welcome!