Wednesday, July 29, 2015

Visual Studio 2015 Compiler Produces Smaller Assemblies

A PCKF community member pointed out that the binaries for Abiathar v2.8 were smaller than those for v2.7.2, which led me to notice that Abiathar v2.8 was the smallest version by file size to date. I certainly added features and didn't remove anything major, so the only explanation I have is that the Visual Studio 2015 compiler creates smaller, better-packed assemblies than the compiler in Visual Studio 2013, which I switched away from between v2.7.2 and v2.8. Note that I have not switched to .NET 4.6 for build targeting (thanks in no small part to this bug); I'm still targeting .NET 4.0, so the downsize is a function of the compiler, not the framework. Neat!

No comments:

Post a Comment