{"action":"created","issue":{"url":"https://api.github.com/repos/Particular/NServiceBus/issues/2646","labels_url":"https://api.github.com/repos/Particular/NServiceBus/issues/2646/labels{/name}","comments_url":"https://api.github.com/repos/Particular/NServiceBus/issues/2646/comments","events_url":"https://api.github.com/repos/Particular/NServiceBus/issues/2646/events","html_url":"https://github.com/Particular/NServiceBus/pull/2646","id":56756239,"number":2646,"title":"Include loaded AppDomain assemblies","user":{"login":"johnsimons","id":122651,"avatar_url":"https://avatars.githubusercontent.com/u/122651?v=3","gravatar_id":"","url":"https://api.github.com/users/johnsimons","html_url":"https://github.com/johnsimons","followers_url":"https://api.github.com/users/johnsimons/followers","following_url":"https://api.github.com/users/johnsimons/following{/other_user}","gists_url":"https://api.github.com/users/johnsimons/gists{/gist_id}","starred_url":"https://api.github.com/users/johnsimons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnsimons/subscriptions","organizations_url":"https://api.github.com/users/johnsimons/orgs","repos_url":"https://api.github.com/users/johnsimons/repos","events_url":"https://api.github.com/users/johnsimons/events{/privacy}","received_events_url":"https://api.github.com/users/johnsimons/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Particular/NServiceBus/labels/Bug","name":"Bug","color":"eb6420"},{"url":"https://api.github.com/repos/Particular/NServiceBus/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"johnsimons","id":122651,"avatar_url":"https://avatars.githubusercontent.com/u/122651?v=3","gravatar_id":"","url":"https://api.github.com/users/johnsimons","html_url":"https://github.com/johnsimons","followers_url":"https://api.github.com/users/johnsimons/followers","following_url":"https://api.github.com/users/johnsimons/following{/other_user}","gists_url":"https://api.github.com/users/johnsimons/gists{/gist_id}","starred_url":"https://api.github.com/users/johnsimons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnsimons/subscriptions","organizations_url":"https://api.github.com/users/johnsimons/orgs","repos_url":"https://api.github.com/users/johnsimons/repos","events_url":"https://api.github.com/users/johnsimons/events{/privacy}","received_events_url":"https://api.github.com/users/johnsimons/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-02-06T01:16:25Z","updated_at":"2015-02-06T01:17:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Particular/NServiceBus/pulls/2646","html_url":"https://github.com/Particular/NServiceBus/pull/2646","diff_url":"https://github.com/Particular/NServiceBus/pull/2646.diff","patch_url":"https://github.com/Particular/NServiceBus/pull/2646.patch"},"body":"If assemblies are already loaded in the AppDomain then their types should be included in the scanned types list.\r\nThis is required otherwise a user can:\r\n```c#\r\nvar config = new BusConfiguration();\r\nconfig.AssembliesToScan(typeof(Program).Assembly);\r\nconfig.UsePersistence<RavenDBPersistence>();\r\n```\r\nand the RavenDBPersistence would not be included!\r\n\r\nFixes #2561\r\nFixes part of #2572"},"comment":{"url":"https://api.github.com/repos/Particular/NServiceBus/issues/comments/73164363","html_url":"https://github.com/Particular/NServiceBus/pull/2646#issuecomment-73164363","issue_url":"https://api.github.com/repos/Particular/NServiceBus/issues/2646","id":73164363,"user":{"login":"SimonCropp","id":122666,"avatar_url":"https://avatars.githubusercontent.com/u/122666?v=3","gravatar_id":"","url":"https://api.github.com/users/SimonCropp","html_url":"https://github.com/SimonCropp","followers_url":"https://api.github.com/users/SimonCropp/followers","following_url":"https://api.github.com/users/SimonCropp/following{/other_user}","gists_url":"https://api.github.com/users/SimonCropp/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonCropp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonCropp/subscriptions","organizations_url":"https://api.github.com/users/SimonCropp/orgs","repos_url":"https://api.github.com/users/SimonCropp/repos","events_url":"https://api.github.com/users/SimonCropp/events{/privacy}","received_events_url":"https://api.github.com/users/SimonCropp/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T01:17:58Z","updated_at":"2015-02-06T01:17:58Z","body":"is there associated documentation for this?"}}