{"action":"created","issue":{"url":"https://api.github.com/repos/reactiveui/ReactiveUI/issues/1211","repository_url":"https://api.github.com/repos/reactiveui/ReactiveUI","labels_url":"https://api.github.com/repos/reactiveui/ReactiveUI/issues/1211/labels{/name}","comments_url":"https://api.github.com/repos/reactiveui/ReactiveUI/issues/1211/comments","events_url":"https://api.github.com/repos/reactiveui/ReactiveUI/issues/1211/events","html_url":"https://github.com/reactiveui/ReactiveUI/issues/1211","id":193845669,"number":1211,"title":"The type initializer for 'ReactiveUI.CreatesCommandBindingViaEvent' threw an exception.","user":{"login":"inyman","id":528753,"avatar_url":"https://avatars.githubusercontent.com/u/528753?v=3","gravatar_id":"","url":"https://api.github.com/users/inyman","html_url":"https://github.com/inyman","followers_url":"https://api.github.com/users/inyman/followers","following_url":"https://api.github.com/users/inyman/following{/other_user}","gists_url":"https://api.github.com/users/inyman/gists{/gist_id}","starred_url":"https://api.github.com/users/inyman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inyman/subscriptions","organizations_url":"https://api.github.com/users/inyman/orgs","repos_url":"https://api.github.com/users/inyman/repos","events_url":"https://api.github.com/users/inyman/events{/privacy}","received_events_url":"https://api.github.com/users/inyman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-12-06T18:16:05Z","updated_at":"2016-12-09T12:16:45Z","closed_at":null,"body":"I'm getting this error when running nunit tests on mac.\r\n\r\nSystem.TypeInitializationException : The type initializer for 'ReactiveUI.RxApp' threw an exception.\r\n  ----> System.TypeInitializationException : The type initializer for 'ReactiveUI.CreatesCommandBindingViaEvent' threw an exception.\r\n\r\n```\r\n[Test]\r\npublic void Fails()\r\n{\r\n  (new TestScheduler()).With(sched => {});\r\n}\r\n\r\nor \r\n[Test]\r\npublic void Fails()\r\n{\r\n  TestUtils.WithScheduler(new TestScheduler());\r\n}\r\n```\r\npackages.config\r\n```\r\n...\r\n<package id=\"reactiveui\" version=\"7.0.0\" targetFramework=\"net45\" />\r\n<package id=\"reactiveui-core\" version=\"7.0.0\" targetFramework=\"net45\" />\r\n<package id=\"reactiveui-testing\" version=\"7.0.0\" targetFramework=\"net45\" />\r\n<package id=\"Rx-Testing\" version=\"2.2.5\" targetFramework=\"net45\" />\r\n...\r\n```"},"comment":{"url":"https://api.github.com/repos/reactiveui/ReactiveUI/issues/comments/266000820","html_url":"https://github.com/reactiveui/ReactiveUI/issues/1211#issuecomment-266000820","issue_url":"https://api.github.com/repos/reactiveui/ReactiveUI/issues/1211","id":266000820,"user":{"login":"inyman","id":528753,"avatar_url":"https://avatars.githubusercontent.com/u/528753?v=3","gravatar_id":"","url":"https://api.github.com/users/inyman","html_url":"https://github.com/inyman","followers_url":"https://api.github.com/users/inyman/followers","following_url":"https://api.github.com/users/inyman/following{/other_user}","gists_url":"https://api.github.com/users/inyman/gists{/gist_id}","starred_url":"https://api.github.com/users/inyman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inyman/subscriptions","organizations_url":"https://api.github.com/users/inyman/orgs","repos_url":"https://api.github.com/users/inyman/repos","events_url":"https://api.github.com/users/inyman/events{/privacy}","received_events_url":"https://api.github.com/users/inyman/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T12:16:45Z","updated_at":"2016-12-09T12:16:45Z","body":"Looks like this is throwing exception   Locator.CurrentMutable.InitializeReactiveUI();\r\n"}}
{"actor":{"display_login":"inyman"}}