Tag Archive for 'assemblies'

Delay-loading assemblies in .NET

I was trying to find a .NET equivalent to the “/delayload” option that the linker has for unmanaged code. For the uninitiated, “/delayload:someDLL.dll” changes the resulting .EXE/.DLL so that someDLL.dll will not be loaded until the first time a function in it is called. It’s a handy option you can use so that you do not need to install someDLL.dll on computers where you know it’s not going to be needed.
Continue reading ‘Delay-loading assemblies in .NET’

Categories

Archives