Hi!
I have a really disturbing problem. I installed dotnet core and then the visual studio code, but when I do this:
Code:
root@webserver:~# code --user-data-dir=Dokumentumok/C#/Test/
and the in the Integrated Terminal I run the command below:
Code:
root@webserver:~# dotnet new console
I get this error message:
Code:
Unhandled Exception: System.TypeInitializationException: The type initializer for 'Crypto' threw an exception. --->
System.TypeInitializationException: The type initializer for 'CryptoInitializer' threw an exception. ---> System.Dll
NotFoundException: Unable to load DLL 'System.Security.Cryptography.Native.OpenSsl': 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..cctor()
--- End of inner exception stack trace ---
at Interop.Crypto.GetRandomBytes(Byte* buf, Int32 num)
at System.IO.Path.GetCryptoRandomBytesOpenSsl(Byte* bytes, Int32 byteCount)
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)
Aborted
What can I do with this? After I solved a problem, another came and I solved that too, and so on... That is my evening like...
Please, help as soon as possible.
Have a good evening!