I have some third party assemblies installed in the GAC. I am developing an ASP.NET which uses some of these assemblies. In the development machine if an assembly is not in the bin folder it gets loaded from the GAC. This situation masks the situation if an assembly is missing in the bin folder because no errors are reported. However when the app is deployed on a shared host, if an assembly is missing from the bin folder, the app errors.
Is there a way to force the app not to load certain assemblies from the GAC and report an error if its missing in the bin folder in the development machine?