- Published on
- Authors
- koskila
How to solve "System.TypeInitializationException: 'The type initializer for 'WinRT.ActivationFactory`1' threw an exception.'" in the MAUI application?
... 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 reading a file from the disk, but I suspect the same or similar error ( "System.TypeInitializationException: 'The type initializer for 'WinRT.ActivationFactory`1' threw an exception.



