What happens if an application tries to load an assembly which has references to assemblies in the GAC and these assemblies are not available on the machine?
Basically I want to rely on assembly loading succeeding to assume that the referenced assemblies are available on the end users machine. Am I being dense?
If the runtime isn't able to load a required assembly, it will throw an exception (doesn't matter if you try to load it at startup or dynamically via Assembly.Load()
). So if you don't get an exception, you can expect the classes to be avaiable.