Category Archives: Computer & Nerdstuff

.NET MAUI: Testing with xUnit

      Keine Kommentare zu .NET MAUI: Testing with xUnit

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 »

.NET MAUI: The type or namespace name ‚Resources‘ does not exist …

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 »

.NET MAUI: Use Font Awesome Icons in your project

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 »

.NET MAUI: Make your app multilingual

      Keine Kommentare zu .NET MAUI: Make your app multilingual

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 »

.NET / C# Error on Mac: Failed to sign apphost … requires at least macOS12.0 …

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 »

Install macOS Monterey on MacBook Pro 11,1

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 »

Linux home server software – part 4 – Backup

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 »

Linux home server software – part 3

      Keine Kommentare zu Linux home server software – part 3

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 »