Problem
Recently whilst working on a C# solution in Visual Studio 2022, I encountered an unusual issue whereby VS would fail to build my project according to the build log, however, VS did not report any errors in the “Error List” panel.
If you too have encountered the same error, then you are in luck, because I’ll explain the solution that worked for me.