{"action":"created","issue":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/6130","repository_url":"https://api.github.com/repos/SeleniumHQ/selenium","labels_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/6130/labels{/name}","comments_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/6130/comments","events_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/6130/events","html_url":"https://github.com/SeleniumHQ/selenium/issues/6130","id":339345552,"node_id":"MDU6SXNzdWUzMzkzNDU1NTI=","number":6130,"title":"For .net core nuget libs do not copy to bin folder","user":{"login":"NikitaEgorov","id":10349650,"node_id":"MDQ6VXNlcjEwMzQ5NjUw","avatar_url":"https://avatars2.githubusercontent.com/u/10349650?v=4","gravatar_id":"","url":"https://api.github.com/users/NikitaEgorov","html_url":"https://github.com/NikitaEgorov","followers_url":"https://api.github.com/users/NikitaEgorov/followers","following_url":"https://api.github.com/users/NikitaEgorov/following{/other_user}","gists_url":"https://api.github.com/users/NikitaEgorov/gists{/gist_id}","starred_url":"https://api.github.com/users/NikitaEgorov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NikitaEgorov/subscriptions","organizations_url":"https://api.github.com/users/NikitaEgorov/orgs","repos_url":"https://api.github.com/users/NikitaEgorov/repos","events_url":"https://api.github.com/users/NikitaEgorov/events{/privacy}","received_events_url":"https://api.github.com/users/NikitaEgorov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-09T08:07:31Z","updated_at":"2018-07-09T10:45:24Z","closed_at":"2018-07-09T09:32:35Z","author_association":"NONE","body":"Error in  FileUtilities in Selenium .net\r\n\r\nFor .net core nuget libs do not copy to bin folder. \r\nAnd WebDriver could not found chromedriver.exe\r\n\r\n```\r\n  /// <summary>\r\n        /// Gets the directory of the currently executing assembly.\r\n        /// </summary>\r\n        /// <returns>The directory of the currently executing assembly.</returns>\r\n        public static string GetCurrentDirectory()\r\n        {\r\n>>>>            Assembly executingAssembly = typeof(FileUtilities).Assembly;\r\n>>>>            string location =  Path.GetDirectoryName(executingAssembly.Location);\r\n            if (string.IsNullOrEmpty(location))\r\n            {\r\n                // If there is no location information from the executing\r\n                // assembly, we will bail by using the current directory.\r\n                // Note this is inaccurate, because the working directory\r\n                // may not actually be the directory of the current assembly,\r\n                // especially if the WebDriver assembly was embedded as a\r\n                // resource.\r\n                location = Directory.GetCurrentDirectory();\r\n            }\r\n\r\n            string currentDirectory = location;\r\n\r\n            // If we're shadow copying, get the directory from the codebase instead\r\n            if (AppDomain.CurrentDomain.ShadowCopyFiles)\r\n            {\r\n                Uri uri = new Uri(executingAssembly.CodeBase);\r\n                currentDirectory = Path.GetDirectoryName(uri.LocalPath);\r\n            }\r\n\r\n            return currentDirectory;\r\n        }\r\n```\r\n\r\nWorkaround: ``<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>``"},"comment":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/comments/403437748","html_url":"https://github.com/SeleniumHQ/selenium/issues/6130#issuecomment-403437748","issue_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/6130","id":403437748,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzQzNzc0OA==","user":{"login":"barancev","id":617090,"node_id":"MDQ6VXNlcjYxNzA5MA==","avatar_url":"https://avatars2.githubusercontent.com/u/617090?v=4","gravatar_id":"","url":"https://api.github.com/users/barancev","html_url":"https://github.com/barancev","followers_url":"https://api.github.com/users/barancev/followers","following_url":"https://api.github.com/users/barancev/following{/other_user}","gists_url":"https://api.github.com/users/barancev/gists{/gist_id}","starred_url":"https://api.github.com/users/barancev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barancev/subscriptions","organizations_url":"https://api.github.com/users/barancev/orgs","repos_url":"https://api.github.com/users/barancev/repos","events_url":"https://api.github.com/users/barancev/events{/privacy}","received_events_url":"https://api.github.com/users/barancev/received_events","type":"User","site_admin":false},"created_at":"2018-07-09T10:45:24Z","updated_at":"2018-07-09T10:45:24Z","author_association":"MEMBER","body":"Define \"incorrect\". Does it return location of the assembly as stated in the comments?"}}
{"actor":{"display_login":"barancev"}}