Confession time. My whole adult life, I’ve had problems with binge drinking. For whatever reason,
I have the predisposition for it, and once I have one or two drinks, I can’t stop until I’ve had
ten and blacked out and ultimately passed out. It’s been this way pretty much since I turned 21.
The Visual Studio Build Tools 15.x installers do not include all the necessary dependencies to build a solution containing projects using both the classic “Full Framework” .csproj format and the new “VS 2017” .csproj format out of the box.
In the first part of this post, I laid out the problem at hand and the code for some of the more high-level business logic. I left off by mentioning that the calls to the “repository” classes were hiding complexity which resulted in disastrously poor performance. In this post, I’ll dig into those methods and how I ultimately refactored them to increase the performance by over an order of magnitude.