I currently work on a HUGE C++/CLI/C# application. At some point during the runtime (not at startup) this application loads a certain .NET assembly.
By using the Modules Window in Visual Studio I can see that the assembly is initially not loaded. After some time the assembly appears in the Modules Window.
Is there an easy way to find out where/why/when the assembly has been loaded? Ideally I would like to set some sort of breakpoint, that fires when this specific assembly is being loaded. So that the application pauses and I get a proper call stack.
Is this possible without instrumenting the code (too much)?