Error running DotNet on Mac [closed]

2

Good evening, I installed the .Net Core as per instructions: link

I created the project directory and when will I execute (via terminal), as command:

dotnet new

I get the error below:

  

Unhandled Exception: System.TypeInitializationException: The type   initializer for 'Crypto' threw an exception. --- >   System.TypeInitializationException: The type initializer for   'CryptoInitializer' threw an exception. --- >   System.DllNotFoundException: Unable to load DLL   'System.Security.Cryptography.Native': The specified module could not   be found. (Exception from HRESULT: 0x8007007E) at   Interop.CryptoInitializer.EnsureOpenSslInitialized () at   Interop.CryptoInitializer..cctor () --- End of inner exception stack   trace --- at Interop.Crypto..cctor () --- End of inner exception   stack trace --- at Interop.Crypto.GetRandomBytes (Byte * buf, Int32   num) at System.IO.Path.GetCryptoRandomBytes (Byte * bytes, Int32   byteCount) at System.IO.Path.GetRandomFileName () at   Microsoft.DotNet.InternalAbstractions.TemporaryDirectory..ctor () at   Microsoft.Extensions.EnvironmentAbstractions.DirectoryWrapper.CreateTemporaryDirectory ()   at Microsoft.DotNet.Configurer.NuGetPackagesArchiver..ctor () at   Microsoft.DotNet.Cli.Program.ConfigureDotNetForFirstTimeUse (INuGetCacheSentinel   nugetCacheSentinel) at   Microsoft.DotNet.Cli.Program.ProcessArgs (String [] args, ITelemetry   telemetryClient) at Microsoft.DotNet.Cli.Program.Main (String []   args) Abort trap: 6

I have already looked at several forums, made several commands, but it still does not work.

Can there be anything related to Openssl ?

Thank you in advance.

    
asked by anonymous 02.10.2016 / 23:57

0 answers