… or “How to bang your head on a wall for hours on end when developing a MAUI application?” 😂 This article explains how to fix a surprising error you might get when trying to run a MAUI app in Windows. For me, it was thrown when I was simply…Continue reading How to solve “System.TypeInitializationException: ‘The type initializer for ‘WinRT.ActivationFactory`1’ threw an exception.’” in the MAUI application?
This article describes some of my experiences with Airthings air quality sensors, especially when used with Home Assistant. I’m using a couple of sensors to keep an especially close eye on CO2, Radon and air pressure, in addition to temperature and humidity (which I already have plenty of Sonoff sensors…Continue reading How do Airthings sensors work with Home Assistant?
This article explains how to read and write files in a MAUI application. No, not AppPackageFiles, nobody likes those, but actual NORMAL files. Real files. Dynamic files. Files that can change. Runtime files. I don’t know what to call them. But I hope you get the idea. Someone needs to…Continue reading How to read and write files in a MAUI application?
This article offers a stupid workaround for a cryptic and seemingly unrecoverable problem that manifests itself after a Visual Studio / .NET update and causes the following error to be thrown: “There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier ‘browser-wasm’.” Sorry, no real solution here –…Continue reading How to fix “There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier…” after a Visual Studio update?