{"action":"opened","issue":{"url":"https://api.github.com/repos/ninject/Ninject/issues/225","repository_url":"https://api.github.com/repos/ninject/Ninject","labels_url":"https://api.github.com/repos/ninject/Ninject/issues/225/labels{/name}","comments_url":"https://api.github.com/repos/ninject/Ninject/issues/225/comments","events_url":"https://api.github.com/repos/ninject/Ninject/issues/225/events","html_url":"https://github.com/ninject/Ninject/issues/225","id":186652006,"number":225,"title":"The invoked member is not supported in a dynamic assembly.","user":{"login":"takinosaji","id":7657731,"avatar_url":"https://avatars.githubusercontent.com/u/7657731?v=3","gravatar_id":"","url":"https://api.github.com/users/takinosaji","html_url":"https://github.com/takinosaji","followers_url":"https://api.github.com/users/takinosaji/followers","following_url":"https://api.github.com/users/takinosaji/following{/other_user}","gists_url":"https://api.github.com/users/takinosaji/gists{/gist_id}","starred_url":"https://api.github.com/users/takinosaji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takinosaji/subscriptions","organizations_url":"https://api.github.com/users/takinosaji/orgs","repos_url":"https://api.github.com/users/takinosaji/repos","events_url":"https://api.github.com/users/takinosaji/events{/privacy}","received_events_url":"https://api.github.com/users/takinosaji/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-01T21:26:10Z","updated_at":"2016-11-01T21:26:10Z","closed_at":null,"body":"In different applications when using `kernel.Load(AppDomain.CurrentDomain.GetAssemblies());` receiving an error: The invoked member is not supported in a dynamic assembly.\r\n\r\nDetailed string:\r\n\r\nType = System.NotSupportedException\r\nMessage = The invoked member is not supported in a dynamic assembly.\r\nSource = mscorlib\r\nTargetSite = System.Type[] GetExportedTypes()\r\nStackTrace =    at System.Reflection.Emit.InternalAssemblyBuilder.GetExportedTypes()\r\n   at Ninject.Infrastructure.Language.ExtensionsForAssembly.GetNinjectModules(Assembly assembly)\r\n   at Ninject.KernelBase.<Load>b__2(Assembly asm)\r\n   at System.Linq.Enumerable.<SelectManyIterator>d__16`2.MoveNext()\r\n   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)\r\n   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)\r\n   at Ninject.KernelBase.Load(IEnumerable`1 m)\r\n   at Ninject.KernelBase.Load(IEnumerable`1 assemblies)\r\n   at Dolphin.Host.Startup.CreateKernel() in .....\r\nHResult = -2146233067"}}
{"actor":{"display_login":"takinosaji"}}