Is there a way for class library to detect when it's loaded, in order to perform some initialization? I've tried adding Program.cs with static Main method, which didn't help. I tried setting Startup object in project properties, but only (None) is available.
I know Win32 libraries have entry points, do .NET class libraries have them?