{"action":"created","issue":{"url":"https://api.github.com/repos/NLog/NLog/issues/1644","repository_url":"https://api.github.com/repos/NLog/NLog","labels_url":"https://api.github.com/repos/NLog/NLog/issues/1644/labels{/name}","comments_url":"https://api.github.com/repos/NLog/NLog/issues/1644/comments","events_url":"https://api.github.com/repos/NLog/NLog/issues/1644/events","html_url":"https://github.com/NLog/NLog/issues/1644","id":177400131,"number":1644,"title":"nlog for mono 2","user":{"login":"ujaroe","id":9551280,"avatar_url":"https://avatars.githubusercontent.com/u/9551280?v=3","gravatar_id":"","url":"https://api.github.com/users/ujaroe","html_url":"https://github.com/ujaroe","followers_url":"https://api.github.com/users/ujaroe/followers","following_url":"https://api.github.com/users/ujaroe/following{/other_user}","gists_url":"https://api.github.com/users/ujaroe/gists{/gist_id}","starred_url":"https://api.github.com/users/ujaroe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ujaroe/subscriptions","organizations_url":"https://api.github.com/users/ujaroe/orgs","repos_url":"https://api.github.com/users/ujaroe/repos","events_url":"https://api.github.com/users/ujaroe/events{/privacy}","received_events_url":"https://api.github.com/users/ujaroe/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NLog/NLog/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"304NotModified","id":5808377,"avatar_url":"https://avatars.githubusercontent.com/u/5808377?v=3","gravatar_id":"","url":"https://api.github.com/users/304NotModified","html_url":"https://github.com/304NotModified","followers_url":"https://api.github.com/users/304NotModified/followers","following_url":"https://api.github.com/users/304NotModified/following{/other_user}","gists_url":"https://api.github.com/users/304NotModified/gists{/gist_id}","starred_url":"https://api.github.com/users/304NotModified/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/304NotModified/subscriptions","organizations_url":"https://api.github.com/users/304NotModified/orgs","repos_url":"https://api.github.com/users/304NotModified/repos","events_url":"https://api.github.com/users/304NotModified/events{/privacy}","received_events_url":"https://api.github.com/users/304NotModified/received_events","type":"User","site_admin":false},"assignees":[{"login":"304NotModified","id":5808377,"avatar_url":"https://avatars.githubusercontent.com/u/5808377?v=3","gravatar_id":"","url":"https://api.github.com/users/304NotModified","html_url":"https://github.com/304NotModified","followers_url":"https://api.github.com/users/304NotModified/followers","following_url":"https://api.github.com/users/304NotModified/following{/other_user}","gists_url":"https://api.github.com/users/304NotModified/gists{/gist_id}","starred_url":"https://api.github.com/users/304NotModified/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/304NotModified/subscriptions","organizations_url":"https://api.github.com/users/304NotModified/orgs","repos_url":"https://api.github.com/users/304NotModified/repos","events_url":"https://api.github.com/users/304NotModified/events{/privacy}","received_events_url":"https://api.github.com/users/304NotModified/received_events","type":"User","site_admin":false}],"milestone":null,"comments":30,"created_at":"2016-09-16T11:07:38Z","updated_at":"2016-10-26T20:51:42Z","closed_at":null,"body":"Hi,\r\nwhat's the last version of Nlog for Mono 2 and where can I get it?\r\n\r\nI'd like to use Nlog with Unity3D, which unfortunately uses a rather outdated version of Mono.\r\n\r\nI tried version 4.3.8 for .Net 3.5, which first appears to work. However, after writing to a file Nlog stops with a NotImplementedException which is raised from class System.Runtime.InteropServices/Marshal in method GetHRForLastWin32Error.\r\n\r\nI tried the old Mono 2 version from codeplex, but it seems to fail to find the config file. As far as I can tell, I need to use the NLog.dll.nlog alternative. This may not exist in this old version.\r\n\r\nThanks for any advice!\r\n"},"comment":{"url":"https://api.github.com/repos/NLog/NLog/issues/comments/256473178","html_url":"https://github.com/NLog/NLog/issues/1644#issuecomment-256473178","issue_url":"https://api.github.com/repos/NLog/NLog/issues/1644","id":256473178,"user":{"login":"snakefoot","id":11509660,"avatar_url":"https://avatars.githubusercontent.com/u/11509660?v=3","gravatar_id":"","url":"https://api.github.com/users/snakefoot","html_url":"https://github.com/snakefoot","followers_url":"https://api.github.com/users/snakefoot/followers","following_url":"https://api.github.com/users/snakefoot/following{/other_user}","gists_url":"https://api.github.com/users/snakefoot/gists{/gist_id}","starred_url":"https://api.github.com/users/snakefoot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snakefoot/subscriptions","organizations_url":"https://api.github.com/users/snakefoot/orgs","repos_url":"https://api.github.com/users/snakefoot/repos","events_url":"https://api.github.com/users/snakefoot/events{/privacy}","received_events_url":"https://api.github.com/users/snakefoot/received_events","type":"User","site_admin":false},"created_at":"2016-10-26T20:51:42Z","updated_at":"2016-10-26T20:51:42Z","body":"Seems Mono ver. 2 doesn't support this call:\r\n\r\nNLog.Internal.FileAppenders.BaseFileAppender.CreateSharableMutex\r\n\r\nMutexAccessRule throws the following exception: \r\n\r\nSystem.ArgumentOutOfRangeException : Argument is out of range.\r\n\r\nWhich is caused by Mono ver. 2 not having a fully working MutexAccessRule.\r\n\r\nThe problem seems to have been fixed with this commit to Mono (Correctly handles MutexRights eventRights)\r\n\r\nhttps://github.com/mono/mono/commit/f669650fdbd4c97895db9ac4fb64263a47bc2d8d"}}
{"actor":{"display_login":"snakefoot"}}