{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/Win2D/issues/59","labels_url":"https://api.github.com/repos/Microsoft/Win2D/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/Win2D/issues/59/comments","events_url":"https://api.github.com/repos/Microsoft/Win2D/issues/59/events","html_url":"https://github.com/Microsoft/Win2D/issues/59","id":68838520,"number":59,"title":"System.TypeLoadException","user":{"login":"ankohanse","id":11971893,"avatar_url":"https://avatars.githubusercontent.com/u/11971893?v=3","gravatar_id":"","url":"https://api.github.com/users/ankohanse","html_url":"https://github.com/ankohanse","followers_url":"https://api.github.com/users/ankohanse/followers","following_url":"https://api.github.com/users/ankohanse/following{/other_user}","gists_url":"https://api.github.com/users/ankohanse/gists{/gist_id}","starred_url":"https://api.github.com/users/ankohanse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankohanse/subscriptions","organizations_url":"https://api.github.com/users/ankohanse/orgs","repos_url":"https://api.github.com/users/ankohanse/repos","events_url":"https://api.github.com/users/ankohanse/events{/privacy}","received_events_url":"https://api.github.com/users/ankohanse/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-04-16T03:49:03Z","updated_at":"2015-09-08T13:41:55Z","closed_at":"2015-04-30T01:37:08Z","body":"Not sure what the best platform is to post questions on technical problems....\r\n\r\nI have included Win2D v 0.0.16 via NuGet in a Windows Phone project. However, when using CanvasTextLayout and CanvasGeometry, I get errors like:\r\n\r\n{System.TypeLoadException: Requested Windows Runtime type 'Microsoft.Graphics.Canvas.Text.CanvasTextLayout' is not registered. ---> System.Runtime.InteropServices.COMException: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))\r\n   --- End of inner exception stack trace ---\r\n   at System.StubHelpers.StubHelpers.GetWinRTFactoryObject(IntPtr pCPCMD)\r\n   at Microsoft.Graphics.Canvas.Text.CanvasTextLayout..ctor(ICanvasResourceCreator resourceCreator, String textString, CanvasTextFormat textFormat, Single maximumLayoutWidth, Single maximumLayoutHeight)\r\n   at PVOutput.HubPage.CanvasX_Draw(CanvasControl canvas, CanvasDrawEventArgs args, Int32 iDayX)}\r\n\r\nI do not see these classes in the generated AppxManifest.xml. \r\nBug or am I missing a vital step somewhere ?"},"comment":{"url":"https://api.github.com/repos/Microsoft/Win2D/issues/comments/138562094","html_url":"https://github.com/Microsoft/Win2D/issues/59#issuecomment-138562094","issue_url":"https://api.github.com/repos/Microsoft/Win2D/issues/59","id":138562094,"user":{"login":"shawnhar","id":8118468,"avatar_url":"https://avatars.githubusercontent.com/u/8118468?v=3","gravatar_id":"","url":"https://api.github.com/users/shawnhar","html_url":"https://github.com/shawnhar","followers_url":"https://api.github.com/users/shawnhar/followers","following_url":"https://api.github.com/users/shawnhar/following{/other_user}","gists_url":"https://api.github.com/users/shawnhar/gists{/gist_id}","starred_url":"https://api.github.com/users/shawnhar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shawnhar/subscriptions","organizations_url":"https://api.github.com/users/shawnhar/orgs","repos_url":"https://api.github.com/users/shawnhar/repos","events_url":"https://api.github.com/users/shawnhar/events{/privacy}","received_events_url":"https://api.github.com/users/shawnhar/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T13:41:55Z","updated_at":"2015-09-08T13:41:55Z","body":"Interesting.  Please let us know if you ever manage to figure out a reliable way to repro this.  It's defiantly something we'd want to pass on to the Visual Studio team, but unfortunately not much they can do without some way to repro :-("}}