To use xUnit for testing your MAUI projects, do the following steps:(Note: I am using Visual Studio on a Mac) Add test projectRight-click on your solution and choose Add > New Project … > xUnit Test Project (you can search for that) > Create Reference main project in test projectIn the test project, add a reference to your main project:… Read more »
This error causes me problems regularly. Example: I use the LocalizationResourceManager.Maui NuGet package to make my app multilingual. I therefore add a folder „Translations“ and in this some resx resource files. When I want to set up the LocalizationResourceManager in the MauiProgram.cs file, it tells me, that it can not find the Translations folder, if I start to type using… Read more »
Maybe you want to use some icons in your project like so: To do that, you need to do the following steps: 1) Select the Font Awesome icon set you wish to use and download the OTF https://fontawesome.com/download 2) Add the font file to your projects /Resources/Fonts folder 3) Add the font info to your MauiProgram.cs: Set the Build Action… Read more »
I am currently working on a students project, comparing native iOS development with MAUI (Multi-platform App UI). When searching for a simple solution to make the app react to changes to a devices language settings, I found this great NuGet package from András Tóth. To change the language according to the device language on App startup, I use this code… Read more »
Now, I am still on my „old“ MacBook Pro 11,1 – and I am back to Big Sur. Monterey installed fine, but sleep / wake up didn’t work normally, so I reverted back to Big Sur. That being said – I am now very soon two OS iterations behind and I may have to think about a new machine …… Read more »
When using several ssh keys on your Mac, you need to give them distinct names, and in therefore you may encounter a problem: The system may not use the key, because it does look for the standard names only*. Happened to me, when I set up a ed25519 key for my university Gitlab account. Even after adding the ssh key… Read more »
I own a MacBook Pro 11,1 (Late 2013) with an i7 CPU (2,8 GHz) and 16 GB memory. A machine perfectly capable of running Big Sur. Why should it not run Monterey as well? Well, because Apple decided so. Fortunately there is OpenCore Legacy Patcher. Find the download, as well as very good instructions here: https://dortania.github.io/OpenCore-Legacy-Patcher/ There is only one… Read more »
OS: macOS 11.6.5 (Big Sur) When setting up the desktop app for your Nextcloud, it will suggest to use a folder named „Nextcloud“, sitting inside your home folder. Maybe this is fine with you, maybe you want to use another name – especially if this is not your first or only Nextcloud instance you are using. If you do not… Read more »
I was looking for a highly effective way to backup the servers system drive, which simply resides on a USB thumbdrive (see Software – part 1). Finally I came up using a tool named „linuxclone“, which copies the whole system to another thumbrive and makes it bootable. Find it here: http://fex.belwue.de/linuxclone.html I use rsnapshot to create a backup of the… Read more »
Installing ownCloud The native ownCloud documentation is complete and extensive, but therefore maybe a little too mighty for a quick start. There are lots of tutorials available on the web, that sum up the most important steps, you may find one that suits you (I used this one which is but in German language). I had troubles setting up the… Read more »