2
Vote

Allow internal types for startup tasks

description

After coming back to Bootstrapper, I've noticed that startup tasks only appear to be run if they're set to public visibility. I don't want to expose startup infrastructure tasks publicly to other assemblies.

This behavior is present in 2.0.3.9.

I am using types that implement a base startup task (which is public) in another assembly, e.g

ASM1:
public MyStartupTask : IStartupTask {...}

ASM2:
internal MyBetterStartupTask : MyStartupTask

If the type is marked internal in ASM2, it will not launch. If it's public, it will.

comments