From the course: .NET 9 Maui: Enhanced Features for Cross-Platform Development
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Updating an existing project: Additional considerations
From the course: .NET 9 Maui: Enhanced Features for Cross-Platform Development
Updating an existing project: Additional considerations
- [Instructor] In the last video, we went through updating a simple .NET 8 MAUI project to .NET 9. While the update we did was a good start, there are several other things that we may want to examine, particularly if our project is more complex. The first thing to look at is if the MAUIVersion attribute has been set in the project file. Normally, the compilation variable MAUIVersion is set by what version of .NET MAUI's installed. However, it can be overridden by a setting in the project file. We should ensure that if such an override occur, we change its version as well. We should also look for any references to Microsoft.Maui.Controls or the compatibility library. If their versions are set via the MAUIVersion variable, we can just leave them. But if they have been set to a specific version, we may need to change that as well. Sometimes we include references to warnings to ignore in the project file. Since the prefix has changed from XFC to XC, we'll want to update those as well…
Contents
-
-
-
-
-
-
-
(Locked)
Android asset packs8m 58s
-
(Locked)
Android 32-bit architectures4m 57s
-
(Locked)
Android marshal methods4m 3s
-
iOS multitarget bindings5m 18s
-
(Locked)
XAML compiler changes2m 3s
-
Updating an existing project: Practical exercise3m 37s
-
(Locked)
Updating an existing project: Additional considerations2m 38s
-
(Locked)
-