{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/9171","repository_url":"https://api.github.com/repos/dotnet/corefx","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/9171/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/9171/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/9171/events","html_url":"https://github.com/dotnet/corefx/issues/9171","id":158587032,"number":9171,"title":"Unable to load DLL 'System.Security.Cryptography.Native' on OS X","user":{"login":"aplex","id":5938230,"avatar_url":"https://avatars.githubusercontent.com/u/5938230?v=3","gravatar_id":"","url":"https://api.github.com/users/aplex","html_url":"https://github.com/aplex","followers_url":"https://api.github.com/users/aplex/followers","following_url":"https://api.github.com/users/aplex/following{/other_user}","gists_url":"https://api.github.com/users/aplex/gists{/gist_id}","starred_url":"https://api.github.com/users/aplex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aplex/subscriptions","organizations_url":"https://api.github.com/users/aplex/orgs","repos_url":"https://api.github.com/users/aplex/repos","events_url":"https://api.github.com/users/aplex/events{/privacy}","received_events_url":"https://api.github.com/users/aplex/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/corefx/labels/os-mac-os-x","name":"os-mac-os-x","color":"fef2c0"},{"url":"https://api.github.com/repos/dotnet/corefx/labels/release%20notes","name":"release notes","color":"006b75"}],"state":"closed","locked":false,"assignee":{"login":"bartonjs","id":10642668,"avatar_url":"https://avatars.githubusercontent.com/u/10642668?v=3","gravatar_id":"","url":"https://api.github.com/users/bartonjs","html_url":"https://github.com/bartonjs","followers_url":"https://api.github.com/users/bartonjs/followers","following_url":"https://api.github.com/users/bartonjs/following{/other_user}","gists_url":"https://api.github.com/users/bartonjs/gists{/gist_id}","starred_url":"https://api.github.com/users/bartonjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartonjs/subscriptions","organizations_url":"https://api.github.com/users/bartonjs/orgs","repos_url":"https://api.github.com/users/bartonjs/repos","events_url":"https://api.github.com/users/bartonjs/events{/privacy}","received_events_url":"https://api.github.com/users/bartonjs/received_events","type":"User","site_admin":false},"assignees":[{"login":"bartonjs","id":10642668,"avatar_url":"https://avatars.githubusercontent.com/u/10642668?v=3","gravatar_id":"","url":"https://api.github.com/users/bartonjs","html_url":"https://github.com/bartonjs","followers_url":"https://api.github.com/users/bartonjs/followers","following_url":"https://api.github.com/users/bartonjs/following{/other_user}","gists_url":"https://api.github.com/users/bartonjs/gists{/gist_id}","starred_url":"https://api.github.com/users/bartonjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartonjs/subscriptions","organizations_url":"https://api.github.com/users/bartonjs/orgs","repos_url":"https://api.github.com/users/bartonjs/repos","events_url":"https://api.github.com/users/bartonjs/events{/privacy}","received_events_url":"https://api.github.com/users/bartonjs/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/dotnet/corefx/milestones/8","html_url":"https://github.com/dotnet/corefx/milestones/1.0.0-rtm","labels_url":"https://api.github.com/repos/dotnet/corefx/milestones/8/labels","id":1719259,"number":8,"title":"1.0.0-rtm","description":"2016 https://github.com/aspnet/Home/wiki/Roadmap","creator":{"login":"joshfree","id":1302850,"avatar_url":"https://avatars.githubusercontent.com/u/1302850?v=3","gravatar_id":"","url":"https://api.github.com/users/joshfree","html_url":"https://github.com/joshfree","followers_url":"https://api.github.com/users/joshfree/followers","following_url":"https://api.github.com/users/joshfree/following{/other_user}","gists_url":"https://api.github.com/users/joshfree/gists{/gist_id}","starred_url":"https://api.github.com/users/joshfree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshfree/subscriptions","organizations_url":"https://api.github.com/users/joshfree/orgs","repos_url":"https://api.github.com/users/joshfree/repos","events_url":"https://api.github.com/users/joshfree/events{/privacy}","received_events_url":"https://api.github.com/users/joshfree/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":276,"state":"closed","created_at":"2016-04-19T20:53:30Z","updated_at":"2016-07-12T20:36:26Z","due_on":"2016-06-30T07:00:00Z","closed_at":"2016-06-27T15:19:16Z"},"comments":16,"created_at":"2016-06-06T01:38:43Z","updated_at":"2016-10-24T23:35:40Z","closed_at":"2016-06-13T19:58:10Z","body":"We're using .Net Core RC2 to build a desktop app with Web UI. It works fine on developer mac, but does not start on a clean OS X 10.11, producing an exception:\r\n\r\n```\r\nSystem.DllNotFoundException: Unable to load DLL 'System.Security.Cryptography.Native': The specified module could not be found.\r\n (Exception from HRESULT: 0x8007007E)\r\n   at Interop.Crypto.GetMaxMdSize()\r\n   at Interop.Crypto..cctor()\r\nTypeInitializationException: The type initializer for 'Crypto' threw an exception.\r\nInterop.Crypto.EvpSha1()\r\nInternal.Cryptography.HashProviderDispenser.CreateHashProvider(String hashAlgorithmId)\r\nSystem.Security.Cryptography.SHA1.Implementation..ctor()\r\nMicrosoft.AspNetCore.Razor.RazorTemplateEngine.ComputeChecksum(Stream inputStream)\r\nMicrosoft.AspNetCore.Razor.RazorTemplateEngine.GenerateCode(Stream inputStream, String className, String rootNamespace, String sourceFileName)\r\nMicrosoft.AspNetCore.Mvc.Razor.Internal.RazorCompilationService.Compile(RelativeFileInfo file)\r\nMicrosoft.AspNetCore.Mvc.Razor.Internal.CompilerCache.CreateCacheEntry(String normalizedPath, Func`2 compile)\r\n--- End of stack trace from previous location where exception was thrown ---\r\nSystem.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\nSystem.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\nMicrosoft.AspNetCore.Mvc.Razor.Internal.CompilerCache.GetOrAdd(String relativePath, Func`2 compile)\r\nMicrosoft.AspNetCore.Mvc.Razor.Internal.DefaultRazorPageFactoryProvider.CreateFactory(String relativePath)\r\nMicrosoft.AspNetCore.Mvc.Razor.RazorViewEngine.CreateCacheResult(HashSet`1 expirationTokens, String relativePath, Boolean isMainPage)\r\nMicrosoft.AspNetCore.Mvc.Razor.RazorViewEngine.OnCacheMiss(ViewLocationExpanderContext expanderContext, ViewLocationCacheKey cacheKey)\r\nMicrosoft.AspNetCore.Mvc.Razor.RazorViewEngine.LocatePageFromViewLocations(ActionContext actionContext, String pageName, Boolean isMainPage)\r\nMicrosoft.AspNetCore.Mvc.Razor.RazorViewEngine.FindView(ActionContext context, String viewName, Boolean isMainPage)\r\nMicrosoft.AspNetCore.Mvc.ViewEngines.CompositeViewEngine.FindView(ActionContext context, String viewName, Boolean isMainPage)\r\nMicrosoft.AspNetCore.Mvc.ViewFeatures.Internal.ViewResultExecutor.FindView(ActionContext actionContext, ViewResult viewResult)\r\nMicrosoft.AspNetCore.Mvc.ViewResult.<ExecuteResultAsync>d__26.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\nSystem.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\nSystem.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\nMicrosoft.AspNetCore.Mvc.Internal.FilterActionInvoker.<InvokeResultAsync>d__44.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\nSystem.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\nSystem.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\nMicrosoft.AspNetCore.Mvc.Internal.FilterActionInvoker.<InvokeResultFilterAsync>d__43.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\nMicrosoft.AspNetCore.Mvc.Internal.FilterActionInvoker.<InvokeAllResultFiltersAsync>d__42.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\nSystem.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\nSystem.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\nMicrosoft.AspNetCore.Mvc.Internal.FilterActionInvoker.<InvokeResourceFilterAsync>d__37.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\nMicrosoft.AspNetCore.Mvc.Internal.FilterActionInvoker.<InvokeAsync>d__32.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\nSystem.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\nSystem.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\nMicrosoft.AspNetCore.Mvc.Internal.MvcRouteHandler.<InvokeActionAsync>d__8.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\nSystem.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\nSystem.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\nMicrosoft.AspNetCore.Builder.RouterMiddleware.<Invoke>d__4.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\nSystem.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\nSystem.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\nMicrosoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware.<Invoke>d__3.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\nSystem.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\nSystem.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\nMicrosoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.<Invoke>d__7.MoveNext()\r\n```\r\n\r\nLooks like this is caused by openssl dependency. Can it be bundled with the app somehow, so that users don't have to install openssl separately?\r\n\r\nThe app is built using\r\n```\r\ndotnet build --runtime osx.10.11-x64 --framework netcoreapp1.0\r\ndotnet publish --runtime osx.10.11-x64 --framework netcoreapp1.0\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/corefx/issues/comments/255895711","html_url":"https://github.com/dotnet/corefx/issues/9171#issuecomment-255895711","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/9171","id":255895711,"user":{"login":"danmosemsft","id":6385855,"avatar_url":"https://avatars.githubusercontent.com/u/6385855?v=3","gravatar_id":"","url":"https://api.github.com/users/danmosemsft","html_url":"https://github.com/danmosemsft","followers_url":"https://api.github.com/users/danmosemsft/followers","following_url":"https://api.github.com/users/danmosemsft/following{/other_user}","gists_url":"https://api.github.com/users/danmosemsft/gists{/gist_id}","starred_url":"https://api.github.com/users/danmosemsft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danmosemsft/subscriptions","organizations_url":"https://api.github.com/users/danmosemsft/orgs","repos_url":"https://api.github.com/users/danmosemsft/repos","events_url":"https://api.github.com/users/danmosemsft/events{/privacy}","received_events_url":"https://api.github.com/users/danmosemsft/received_events","type":"User","site_admin":false},"created_at":"2016-10-24T23:35:40Z","updated_at":"2016-10-24T23:35:40Z","body":"@bartonjs @steveharter Lots of tests are failing in the offical test runs due to this.\r\n\r\neg https://mc.dot.net/#/product/netcore/master/source/official~2Fcorefx~2Fmaster~2F/type/test~2Ffunctional~2Fcli~2F/build/20161024.01/workItem/System.Security.Cryptography.Algorithms.Tests \r\n\r\nWhat should we do here -- have some setup step that gets openssl?"}}
{"actor":{"display_login":"danmosemsft"}}