Using Reflection to Reduce the Size of .NET Executables

By: Vasian Cepa

Abstract

Current binary compressors cannot be used to pack .NET executables because .NET makes use of a specially modified PE file format. We will rely on reflection capabilities supported by .NET to pack .NET binaries using pure C# code. The solution is quite general and can be used with any .NET executable, no matter in what front-end language it was written.

Cite as:

Vasian Cepa, “Using Reflection to Reduce the Size of .NET Executables”, Journal of Object Technology, Volume 4, no. 7 (September 2005), pp. 51-64, doi:10.5381/jot.2005.4.7.a1.

PDF | HTML | DOI | BiBTeX | Tweet this | Post to CiteULike | Share on LinkedIn

The JOT Journal   |   ISSN 1660-1769   |   DOI 10.5381/jot   |   AITO   |   Open Access   |    Contact