'Maui RC1 - "System.NotSupportedException: Must call AddTerm AddSeparator in that order"
I installed the last update for Maui (https://github.com/dotnet/maui). When I add an image, it makes an error: "error MAUI0000: System.NotSupportedException: Must call AddTerm AddSeparator in that order"
This is easy to reproduce:
- Update your VS2022 to the last update.
- Create a Maui Mobile
- Add Image to the "Resources/Images"
- Put it the kind to "MauiImage"
- Try to compile.
Edit: Go Release instead of Debug and it works.
Edit: Nah, it took cache and if the solution is cleaned, it break again with the same error.
Edit: It's when you want to change "appicon.svg"
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|