GetAssemblies in different AppDomain

I am creating a new AppDomain and in a class that is running within that app domain I am calling AppDomain.CurrentDomain.GetAssemblies() but it only returns the two assemblies System.ServiceModel and mscorlib.

This only happens with a release build and it only started to happen when I upgraded from 4.6.00049 to 4.6.06000.

The class that is calling GetAssemblies is actually in one of the assemblies that's not in the list, so it is loaded.

I'm guessing something changed about the way assemblies are loaded or discovered between those two release versions.

Can anyone tell me how to get all the assemblies in the other app domain?

Thanks

Neil

Posts

Sign In or Register to comment.