{"action":"opened","issue":{"url":"https://api.github.com/repos/PrismLibrary/Prism/issues/1495","repository_url":"https://api.github.com/repos/PrismLibrary/Prism","labels_url":"https://api.github.com/repos/PrismLibrary/Prism/issues/1495/labels{/name}","comments_url":"https://api.github.com/repos/PrismLibrary/Prism/issues/1495/comments","events_url":"https://api.github.com/repos/PrismLibrary/Prism/issues/1495/events","html_url":"https://github.com/PrismLibrary/Prism/issues/1495","id":340066966,"node_id":"MDU6SXNzdWUzNDAwNjY5NjY=","number":1495,"title":"Prism.Mef exception","user":{"login":"lihaoef","id":24352328,"node_id":"MDQ6VXNlcjI0MzUyMzI4","avatar_url":"https://avatars3.githubusercontent.com/u/24352328?v=4","gravatar_id":"","url":"https://api.github.com/users/lihaoef","html_url":"https://github.com/lihaoef","followers_url":"https://api.github.com/users/lihaoef/followers","following_url":"https://api.github.com/users/lihaoef/following{/other_user}","gists_url":"https://api.github.com/users/lihaoef/gists{/gist_id}","starred_url":"https://api.github.com/users/lihaoef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lihaoef/subscriptions","organizations_url":"https://api.github.com/users/lihaoef/orgs","repos_url":"https://api.github.com/users/lihaoef/repos","events_url":"https://api.github.com/users/lihaoef/events{/privacy}","received_events_url":"https://api.github.com/users/lihaoef/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-11T02:14:49Z","updated_at":"2018-07-11T02:14:49Z","closed_at":null,"author_association":"NONE","body":"### Description\r\nWhen I use Prism.Mef to create a project with module,I enter the follow error:\r\n“There is currently no moduleTypeLoader in the ModuleManager that can retrieve the specified module.”\r\n<!-- REQUIRED -->\r\n<!-- Issues reporting a bug, but lacking a Reproduction will be closed!\r\n     Please ask questions on StackOverflow or on Slack. Issues opened\r\n     that are questions will be closed without comment.  -->\r\n\r\n### Steps to Reproduce\r\n\r\n1. `public class ModuleB : IModule\r\n    {\r\n        public void Initialize()\r\n        {\r\n            ServiceLocator.Current.GetInstance<IRegionManager>().RegisterViewWithRegion(\"RegionA\", typeof(UserControl1));\r\n        }\r\n    }`\r\n2. ` \r\nprotected override DependencyObject CreateShell()\r\n        {\r\n            //return ServiceLocator.Current.GetInstance<Shell>();\r\n            return this.Container.GetExportedValue<Shell>();\r\n        }\r\n\r\n        protected override void InitializeShell()\r\n        {\r\n            base.InitializeShell();\r\n            App.Current.MainWindow = this.Shell as Window;\r\n            App.Current.MainWindow.Show();\r\n        }\r\n\r\n        protected override void ConfigureModuleCatalog()\r\n        {\r\n            base.ConfigureModuleCatalog();\r\n            this.ModuleCatalog.AddModule(new ModuleInfo(typeof(ModuleB).Name, typeof(ModuleB).AssemblyQualifiedName));\r\n        }`\r\n3. \r\n\r\n### Expected Behavior\r\n\r\n### Actual Behavior\r\n\r\n### Basic Information\r\n\r\n- Version with issue:\r\n- Last known good version:\r\n- Xamarin.Forms version:\r\n- IDE:\r\n\r\n### Screenshots\r\n\r\n<!-- If the issue is a visual issue, please include screenshots showing the problem if possible -->\r\n\r\n### Reproduction Link\r\n\r\n<!-- REQUIRED - Please upload or provide a link to a reproduction case. If no reproduction sample is included, this issue may be closed or ignored until a sample has been provided -->\r\n\r\n"}}
{"actor":{"display_login":"lihaoef"}}