Josh Fischer - .NET and C# Consultant

.NET, C#, Azure, WinUI, Wpf, Uno, Sql, Visual Studio, Webassembly

PathIconSource Instances Are Not Reusable

- Posted in WinUI by

I recently had the need to use PathIconSource and IconSourceElement. It seemed straightforward enough, so I added the first image to my app without any problems. After adding a few more images, I needed to reuse one I had already added. Suddenly my app started crashing with a very strange error

Fix WinUI App Crashes Upon Startup

- Posted in WinUI by

If your WinUI application is crashing immediately upon startup while running through Visual Studio, there may be a quick fix/workaround you can use. Simply go to Tools menu in Visual Studio and navigate to: Tools -> Options -> Debugging -> XAML Hot Reload and uncheck the Enable in-app toolbar