Categories
.NET .NET MAUI Android Blazor C# Desktop Developer DevOps Getting Started Hybrid iOS macOS Mobile Visual Studio VS Code Web Windows Xamarin Xamarin.Forms

Using Visual Studio Code for .NET MAUI Development

In August 2023, Microsoft made an official announcement regarding the retirement of Visual Studio for Mac, scheduled to take place by August 31, 2024 (in another 6 months), as stated in a blog post here.

In the same blog post, Visual Studio Code along with the C# Dev Kit is projected as a viable alternative for cross-platform .NET development. For further information on the C# Dev Kit, refer to this article.

And for .NET MAUI too, there’s an officially supported extension hosted on VS Marketplace. To know more about this, take a look at this article. C# Dev Kit is a dependency for this .NET MAUI extension.

Categories
.NET .NET 8 .NET MAUI Android Blazor C# Desktop Developer DevOps Hybrid iOS macOS Mobile Templates Windows Xamarin Xamarin.Forms

.NET MAUI – Nightly Builds

At first, .NET 6 and .NET 7 versions of .NET MAUI were released only via SDK Workloads whereas from .NET 8 onwards (Preview 4 to be precise), it is now distributed as a base workload and suite of NuGet packages on top of it.

This NuGet-based release process allows trying different versions of .NET MAUI which are released on top of a base workload on the same machine without the complexities of moving between different workload versions.

Categories
.NET .NET 8 .NET MAUI Android Developer General Quick Fix Visual Studio Xamarin

.NET MAUI on .NET 8 Preview 6 – Android build issue

.NET 8 is the next LTS release and is currently in preview. .NET, .NET MAUI, and Visual Studio 2022 release a public preview every month for quite some time.

On Tue, Jul 11, another preview version of .NET 8 got released along with VS2022 17.7.0 Preview 3.0.

After installing the latest preview bits, the Android projects failed to build. Upon investigation, found that the Android SDK location got reset to the “Program Files” folder. Since I’ve been working with .NET MAUI from the early prerelease, the Android SDK was originally installed in the Android\Sdk sub-folder in the user’s local application data folder (then recommended path to install).