AddProfilesCore needs to filter out any assemblies with assembly.IsDynamic == true, as these assemblies will fail with a NotSupportedException when trying to get ExportedTypes. Apparently you can't get exported types on dynamic assemblies.
The fix should be pretty easy so I'll try to submit a pull request on it soon.