{"action":"created","issue":{"url":"https://api.github.com/repos/APSIMInitiative/ApsimX/issues/3084","repository_url":"https://api.github.com/repos/APSIMInitiative/ApsimX","labels_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/issues/3084/labels{/name}","comments_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/issues/3084/comments","events_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/issues/3084/events","html_url":"https://github.com/APSIMInitiative/ApsimX/issues/3084","id":362439529,"node_id":"MDU6SXNzdWUzNjI0Mzk1Mjk=","number":3084,"title":"Error while adding a new model or function","user":{"login":"behnamxa","id":39573622,"node_id":"MDQ6VXNlcjM5NTczNjIy","avatar_url":"https://avatars2.githubusercontent.com/u/39573622?v=4","gravatar_id":"","url":"https://api.github.com/users/behnamxa","html_url":"https://github.com/behnamxa","followers_url":"https://api.github.com/users/behnamxa/followers","following_url":"https://api.github.com/users/behnamxa/following{/other_user}","gists_url":"https://api.github.com/users/behnamxa/gists{/gist_id}","starred_url":"https://api.github.com/users/behnamxa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/behnamxa/subscriptions","organizations_url":"https://api.github.com/users/behnamxa/orgs","repos_url":"https://api.github.com/users/behnamxa/repos","events_url":"https://api.github.com/users/behnamxa/events{/privacy}","received_events_url":"https://api.github.com/users/behnamxa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-21T03:07:31Z","updated_at":"2018-09-21T03:40:25Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"When I try to add a model or function, I receive this error:\r\n\r\n### **Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.**\r\n\r\nSystem.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.\r\n   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)\r\n   at System.Reflection.Assembly.GetTypes()\r\n   at APSIM.Shared.Utilities.ReflectionUtilities.GetTypesThatHaveInterface(Type interfaceType) in C:\\Users\\uqbababa\\UQ\\07_Repository\\ApsimNextGen\\APSIM.Shared\\Utilities\\ReflectionUtilities.cs:line 536\r\n   at Models.Core.Apsim.GetAllowableChildModels(Object parent) in C:\\Users\\uqbababa\\UQ\\07_Repository\\ApsimNextGen\\ApsimX\\Models\\Core\\Apsim.cs:line 590\r\n   at UserInterface.Presenters.AddModelPresenter.Attach(Object model, Object view, ExplorerPresenter explorerPresenter) in C:\\Users\\uqbababa\\UQ\\07_Repository\\ApsimNextGen\\ApsimX\\ApsimNG\\Presenters\\AddModelPresenter.cs:line 43\r\n   at UserInterface.Presenters.ExplorerPresenter.ShowInRightHandPanel(Object model, String viewName, String presenterName) in C:\\Users\\uqbababa\\UQ\\07_Repository\\ApsimNextGen\\ApsimX\\ApsimNG\\Presenters\\ExplorerPresenter.cs:line 760"},"comment":{"url":"https://api.github.com/repos/APSIMInitiative/ApsimX/issues/comments/423403847","html_url":"https://github.com/APSIMInitiative/ApsimX/issues/3084#issuecomment-423403847","issue_url":"https://api.github.com/repos/APSIMInitiative/ApsimX/issues/3084","id":423403847,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzQwMzg0Nw==","user":{"login":"hol430","id":36427516,"node_id":"MDQ6VXNlcjM2NDI3NTE2","avatar_url":"https://avatars0.githubusercontent.com/u/36427516?v=4","gravatar_id":"","url":"https://api.github.com/users/hol430","html_url":"https://github.com/hol430","followers_url":"https://api.github.com/users/hol430/followers","following_url":"https://api.github.com/users/hol430/following{/other_user}","gists_url":"https://api.github.com/users/hol430/gists{/gist_id}","starred_url":"https://api.github.com/users/hol430/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hol430/subscriptions","organizations_url":"https://api.github.com/users/hol430/orgs","repos_url":"https://api.github.com/users/hol430/repos","events_url":"https://api.github.com/users/hol430/events{/privacy}","received_events_url":"https://api.github.com/users/hol430/received_events","type":"User","site_admin":false},"created_at":"2018-09-21T03:40:25Z","updated_at":"2018-09-21T03:40:25Z","author_association":"CONTRIBUTOR","body":"Are you building from source, or using the installed version?"}}
{"actor":{"display_login":"hol430"}}