Was ich getan hab:
Den .Net Core hab ich nach dieser Anleitung installiert: https://www.microsoft.com/net/core#debian
Als ich ein neues Projekt mit dem Befehl "dotnet new" erstellen wollte, bekam ich diese Fehlermeldung.
Dieses Problem konnte ich nach einer kurzen Google Suche beheben, indem ich das Paket "libicu52" von jessie installiert hab.Failed to initialize CoreCLR, HRESULT: 0x80131500
Neuer Versuch, neuer Fehler.
Nach einer erneuten Suche wollte ich das Paket mit NuGet installieren. Der Befehl den ich verwendet hab: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.
Code: Alles auswählen
nuget install runtime.native.System.Security.Cryptography
Ok, eigentlich sollte das leicht zu beheben sein, dachte ich mir.The 'runtime.native.System.Security.Cryptography 4.0.0' package requires NuGet client version '2.12' or above, but the current NuGet version is '2.8.7.0'.
Der Befehl und die Ausgabe dazu:
Doch ab da wird jeder Befehl von NuGet(sogar nuget help) mitroot@debian:~# nuget update -self
Es wird auf Updates von https://www.nuget.org/api/v2/ überprüft.
"NuGet.exe" 2.8.7 wird zurzeit ausgeführt.
"NuGet.exe" wird auf 3.4.4-rtm-final aktualisiert.
Das Update war erfolgreich.
Could not load file or assembly or one of its dependencies.
beantwortet.
Könnt ihr mir bitte dabei helfen den .Net Core zum laufen zu bringen?