{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/WinObjC/issues/420","repository_url":"https://api.github.com/repos/Microsoft/WinObjC","labels_url":"https://api.github.com/repos/Microsoft/WinObjC/issues/420/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/WinObjC/issues/420/comments","events_url":"https://api.github.com/repos/Microsoft/WinObjC/issues/420/events","html_url":"https://github.com/Microsoft/WinObjC/issues/420","id":145689062,"number":420,"title":"Running app on debug mode with WIN32 on windows 8.1pro with mobile emulator 10.0.10240.0","user":{"login":"sssuourabh","id":2918573,"avatar_url":"https://avatars.githubusercontent.com/u/2918573?v=3","gravatar_id":"","url":"https://api.github.com/users/sssuourabh","html_url":"https://github.com/sssuourabh","followers_url":"https://api.github.com/users/sssuourabh/followers","following_url":"https://api.github.com/users/sssuourabh/following{/other_user}","gists_url":"https://api.github.com/users/sssuourabh/gists{/gist_id}","starred_url":"https://api.github.com/users/sssuourabh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sssuourabh/subscriptions","organizations_url":"https://api.github.com/users/sssuourabh/orgs","repos_url":"https://api.github.com/users/sssuourabh/repos","events_url":"https://api.github.com/users/sssuourabh/events{/privacy}","received_events_url":"https://api.github.com/users/sssuourabh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-04T13:50:10Z","updated_at":"2016-04-04T13:50:10Z","closed_at":null,"body":"App is loaded on emulator and get an exception\r\nException thrown at 0x774924C2 in MyAPP.exe: Microsoft C++ exception: Platform::InvalidCastException ^ at memory location 0x05DFF578. HRESULT:0x80004002 No such interface supported\r\n\r\nWinRT information: System.InvalidCastException: Unable to cast object of type 'System.__ComObject' to type 'Windows.UI.Xaml.Hosting.IElementCompositionPreviewStatics'.\r\n\r\n   at System.StubHelpers.StubHelpers.GetCOMIPFromRCW_WinRT(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget)\r\n\r\n   at Windows.UI.Xaml.Hosting.ElementCompositionPreview.GetElementVisual(UIElement element)\r\n\r\n   at XamlCompositorCS.Controls.CALayerXaml.CreateLayer()\r\n\r\nStack trace:\r\n[External Code]\r\ncoreclr.dll!605d9298()\r\ncoreclr.dll!606b769f()\r\n[External Code]\r\ncoreclr.dll!607f33cc()\r\n[External Code]\r\nSTARBOARDXAML.DLL!DisplayNode::DisplayNode() Line 161\r\nSTARBOARDXAML.DLL!CAXamlCompositor::CreateDisplayNode() Line 1388\r\nQUARTZCORE.DLL!CAPrivateInfo::CAPrivateInfo(CALayer * self, bool) Line 302\r\nQUARTZCORE.DLL!_i_CALayer__init(CALayer  self, objc_selector  _cmd) Line 372\r\nFOUNDATION.DLL!_c_NSObject__new(objc_class  self, objc_selector  _cmd) Line 62\r\nUIKIT.DLL!_i_UIView__initPriv(UIView  self, objc_selector  _cmd) Line 121\r\nUIKIT.DLL!_c_UIView__allocWithZone_(objc_class  self, objc_selector  _cmd, NSZone * zone) Line 148\r\nUIKIT.DLL!_c_UIImageView__allocWithZone_(objc_class  self, objc_selector  _cmd, NSZone * zone) Line 44\r\nFOUNDATION.DLL!_c_NSObject__alloc(objc_class  self, objc_selector  _cmd) Line 69\r\nUIKIT.DLL!_i_UIApplication__init(UIApplication  self, objc_selector  _cmd) Line 1340\r\nFOUNDATION.DLL!_c_NSObject__new(objc_class  self, objc_selector  _cmd) Line 62\r\nUIKIT.DLL!UIApplicationMainInit(int argc, char   argv, NSString  principalClassName, NSString  delegateClassName, unsigned int defaultOrientation) Line 138\r\nSTARBOARDXAML.DLL!ApplicationMainStart(int argc, char   argv, const char  principalName, const char  delegateName, float windowWidth, float windowHeight) Line 136\r\nSTARBOARDXAML.DLL!WinObjcMainLoop(void * param) Line 105\r\n[External Code]\r\n\r\nIf there is a handler for this exception, the program may be safely continued.\r\nAny help is appreciated."}}