{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-dotnet/issues/1767","repository_url":"https://api.github.com/repos/realm/realm-dotnet","labels_url":"https://api.github.com/repos/realm/realm-dotnet/issues/1767/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-dotnet/issues/1767/comments","events_url":"https://api.github.com/repos/realm/realm-dotnet/issues/1767/events","html_url":"https://github.com/realm/realm-dotnet/issues/1767","id":355745690,"node_id":"MDU6SXNzdWUzNTU3NDU2OTA=","number":1767,"title":"Realm fails in Office development projects","user":{"login":"Mohsens22","id":22152065,"node_id":"MDQ6VXNlcjIyMTUyMDY1","avatar_url":"https://avatars3.githubusercontent.com/u/22152065?v=4","gravatar_id":"","url":"https://api.github.com/users/Mohsens22","html_url":"https://github.com/Mohsens22","followers_url":"https://api.github.com/users/Mohsens22/followers","following_url":"https://api.github.com/users/Mohsens22/following{/other_user}","gists_url":"https://api.github.com/users/Mohsens22/gists{/gist_id}","starred_url":"https://api.github.com/users/Mohsens22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mohsens22/subscriptions","organizations_url":"https://api.github.com/users/Mohsens22/orgs","repos_url":"https://api.github.com/users/Mohsens22/repos","events_url":"https://api.github.com/users/Mohsens22/events{/privacy}","received_events_url":"https://api.github.com/users/Mohsens22/received_events","type":"User","site_admin":false},"labels":[{"id":643636062,"node_id":"MDU6TGFiZWw2NDM2MzYwNjI=","url":"https://api.github.com/repos/realm/realm-dotnet/labels/O:User","name":"O:User","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-08-30T20:40:42Z","updated_at":"2018-09-06T11:43:49Z","closed_at":null,"author_association":"NONE","body":"\r\n## Goals\r\n\r\nI was trying to use realm.net in an office extention\r\n\r\n## Expected Results\r\n\r\nI expected realm to connect to my realm instance for sync or at least connect to an offline instance.\r\n\r\n## Actual Results\r\n\r\nCrashed at connecting to database or managing users. Both with the same error:\r\n```\r\nSystem.TypeInitializationException\r\n  HResult=0x80131534\r\n  Message=The type initializer for 'Realms.SharedRealmHandle' threw an exception.\r\n  Source=Realm\r\n  StackTrace:\r\n   at Realms.SharedRealmHandle.Open(Configuration configuration, RealmSchema schema, Byte[] encryptionKey)\r\n   at Realms.RealmConfiguration.CreateRealm(RealmSchema schema)\r\n   at Realms.Realm.GetInstance(String databasePath)\r\n   at Denna.Office.Common.Data.RealmContext.GetInstance() in C:\\Users\\mohse\\Source\\Repos\\DennaForMSOffice\\DennaForOffice\\Denna.Office.Common\\Data\\RealmContext.cs:line 12\r\n   at Denna.Office.Common.Services.Todos.TodoService..ctor() in C:\\Users\\mohse\\Source\\Repos\\DennaForMSOffice\\DennaForOffice\\Denna.Office.Common\\Services\\Todos\\TodoService.cs:line 18\r\n   at Denna.Office.Common.Views.AddTodo..ctor() in C:\\Users\\mohse\\Source\\Repos\\DennaForMSOffice\\DennaForOffice\\Denna.Office.Common\\Views\\AddTodo.xaml.cs:line 28\r\n   at Denna.Office.Common.Views.TodoList.Button_Click(Object sender, RoutedEventArgs e) in C:\\Users\\mohse\\Source\\Repos\\DennaForMSOffice\\DennaForOffice\\Denna.Office.Common\\Views\\TodoList.xaml.cs:line 30\r\n\r\nInner Exception 1:\r\nDllNotFoundException: Unable to load DLL 'realm-wrappers': The specified module could not be found. (Exception from HRESULT: 0x8007007E)\r\n\r\n```\r\n## Steps to Reproduce\r\n\r\nCreate an office plugin and try to access database. Boom! Crashes.\r\n\r\n## Code Sample\r\n\r\nhttps://github.com/MahStudio/DennaForMSOffice\r\n\r\n## Version of Realm and Tooling\r\n\r\n- Realm Object Server Version: Cloud\r\n- Flavor:\r\n  - Developer\r\n\r\n- Server OS & Version: Cloud\r\n- Client SDK Version: 3.1\r\n- Client OS & Version: Windows 10 version 1803 RS4 release\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/realm/realm-dotnet/issues/comments/419063554","html_url":"https://github.com/realm/realm-dotnet/issues/1767#issuecomment-419063554","issue_url":"https://api.github.com/repos/realm/realm-dotnet/issues/1767","id":419063554,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTA2MzU1NA==","user":{"login":"Mohsens22","id":22152065,"node_id":"MDQ6VXNlcjIyMTUyMDY1","avatar_url":"https://avatars3.githubusercontent.com/u/22152065?v=4","gravatar_id":"","url":"https://api.github.com/users/Mohsens22","html_url":"https://github.com/Mohsens22","followers_url":"https://api.github.com/users/Mohsens22/followers","following_url":"https://api.github.com/users/Mohsens22/following{/other_user}","gists_url":"https://api.github.com/users/Mohsens22/gists{/gist_id}","starred_url":"https://api.github.com/users/Mohsens22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mohsens22/subscriptions","organizations_url":"https://api.github.com/users/Mohsens22/orgs","repos_url":"https://api.github.com/users/Mohsens22/repos","events_url":"https://api.github.com/users/Mohsens22/events{/privacy}","received_events_url":"https://api.github.com/users/Mohsens22/received_events","type":"User","site_admin":false},"created_at":"2018-09-06T11:43:49Z","updated_at":"2018-09-06T11:43:49Z","author_association":"NONE","body":"Where are you with this bug bro?\r\n"}}
{"actor":{"display_login":"Mohsens22"}}