Register assembly resolution hook before any other assembly is required