Josh Fischer - .NET and C# Consultant

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

WinUI Community Toolkit updated

- Posted in WinUI by

I recently discovered that the WinUI Community Toolkit has had a massive upgrade. In fact, there are all new packages on NuGet. When you are searching for them, make sure you look for the new blue icon instead of the gray one. I've only used a couple of them so far, but they seem very stable and

.NET (Core,6,7,8) and WinUI Upgrade Pitfalls

- Posted in .NET by

The .NET Upgrade Assistant does an excellent job of updating your classic .Net Framework projects to target the new .NET binaries. It is not a "fire-and-forget" process, however, and you will want to watch out for these common issues. Old Package References If the Upgrade Assistant can't find a

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