As part of the testing I do for the MAUI App Accelerator, I have checks that valid (but unexpected) file names won't break anything in the extension.
I probably (based on the things I find) do more testing in this area that the MAUI team.
For example, I just found that you can no longer include an underscore, at sign, or brackets (opening or closing) in the file paths of any files in you .NET MAUI projects.
Previously these characters weren't an issue.
If you want to know more, there's now a bug about this on the MAUI repo.
However, I expect that none of that is very relevant to you.
So, why did I write this blog post?
Simple, to recommend and encourage you to avoid such issues by keeping you file and directory names simple and only using alpha-numeric characters. (and maybe a dot/period. 😉)
I do the testing that found the change in behavior, not for the sake of discovering weird, outlying bugs, but because I want to avoid anyone using my extension to encounter such a bug and then raise reports that I need to spend a lot of time investigating. Ok, so I may have just spent a lot of time investigating something that no one will encounter (to create the bug report), but at least it didn't mean that a bug was raised on my project when I had no time to investigate. Also, at least to my mind, I'm focusing the limited time I have to support my open source projects on making sure they're robust. If you appreciate such projects and want to help me develop them more, please consider joining the other people who have sponsored me previously.
0 comments:
Post a Comment
I get a lot of comment spam :( - moderation may take a while.