Exceptions are for Exceptions
Most programmers know that throwing exceptions takes a relatively long time to execute versus normal processing. Some say throwing exceptions is as much as two orders of magnitude slower than passing...
View ArticleComboBox Exception: “Too many items in the combo box”
The .NET ComboBox may throw a cryptic OutOfMemoryException with the following message: Too many items in the combo box. This poorly-worded exception results when you Add an object to the ComboBox whose...
View ArticleSolution file error MSB5014
The following error may occur when building a Visual Studio solution with the MSBuild program: Solution file error MSB5014: File format version is not recognized. MSBuild can only read solution files...
View ArticleError CS0016: Could not write to output file
If you attempt to run an ASP.NET application hosted on IIS running on Windows Home Basic or Premium, you may receive the following error: error CS0016: Could not write to output file...
View ArticleProject is not selected for building in solution configuration
When building a Visual Studio project, you may encounter the following error: The project "MyProject" is not selected for building in solution configuration "Debug|Any CPU". This error occurs because...
View Article