Nach einer korrupten Registrierung Warnung beim Hochfahren, habe ich erfolgreich meinen PC wieder laufen durch einfaches Wiederherstellen von Windows auf den Zustand, den es vor einem bestimmten Update war. Aus irgendeinem völlig unbekannten Grund begann Visual Studio jedoch merkwürdig zu verhalten. Zu Beginn hat es keinen Hinweis auf Renci.SSH.NET gefunden, obwohl es eindeutig dort war. Also ging ich in den nugget-Paketmanager, deinstallierte SSH.NET, mit der Hoffnung, ich könnte es einfach neu installieren und alles wäre in Ordnung."Nuget Fehler beim Wiederherstellen von Paketen", aber es funktionierte vor
Offensichtlich ging nichts so glatt. Wenn ich die GUI des Paketmanagers verwende, sagt Visual Studio mir: "Fehler beim Wiederherstellen des Pakets. Wiederherstellen von Paketänderungen für 'BlankApplication'.". Wenn ich die nuget Konsole und geben verwende PM > Install-Package SSH.NET
, bekomme ich diese in rotem Alptraum hervorgehoben:
Install-Package : SSH.NET 2016.0.0 is not compatible with UAP,Version=v10.0.
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : SshNet.Security.Cryptography 1.2.0 is not compatible with UAP,Version=v10.0.
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : System.Xml.XPath.XmlDocument 4.0.1 is not compatible with UAP,Version=v10.0.
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : System.Xml.XPath 4.0.1 is not compatible with UAP,Version=v10.0.
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : Some packages are not compatible with UAP,Version=v10.0.
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : SSH.NET 2016.0.0 is not compatible with UAP,Version=v10.0 (win10-arm).
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : SshNet.Security.Cryptography 1.2.0 is not compatible with UAP,Version=v10.0 (win10-arm).
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : System.Xml.XPath.XmlDocument 4.0.1 is not compatible with UAP,Version=v10.0 (win10-arm).
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : System.Xml.XPath 4.0.1 is not compatible with UAP,Version=v10.0 (win10-arm).
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : Some packages are not compatible with UAP,Version=v10.0 (win10-arm).
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : SSH.NET 2016.0.0 is not compatible with UAP,Version=v10.0 (win10-arm-aot).
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : SshNet.Security.Cryptography 1.2.0 is not compatible with UAP,Version=v10.0 (win10-arm-aot).
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : System.Xml.XPath.XmlDocument 4.0.1 is not compatible with UAP,Version=v10.0 (win10-arm-aot).
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : System.Xml.XPath 4.0.1 is not compatible with UAP,Version=v10.0 (win10-arm-aot).
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : Some packages are not compatible with UAP,Version=v10.0 (win10-arm-aot).
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : SSH.NET 2016.0.0 is not compatible with UAP,Version=v10.0 (win10-x64).
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : SshNet.Security.Cryptography 1.2.0 is not compatible with UAP,Version=v10.0 (win10-x64).
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : System.Xml.XPath.XmlDocument 4.0.1 is not compatible with UAP,Version=v10.0 (win10-x64).
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : System.Xml.XPath 4.0.1 is not compatible with UAP,Version=v10.0 (win10-x64).
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : Some packages are not compatible with UAP,Version=v10.0 (win10-x64).
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : SSH.NET 2016.0.0 is not compatible with UAP,Version=v10.0 (win10-x64-aot).
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : SshNet.Security.Cryptography 1.2.0 is not compatible with UAP,Version=v10.0 (win10-x64-aot).
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : System.Xml.XPath.XmlDocument 4.0.1 is not compatible with UAP,Version=v10.0 (win10-x64-aot).
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : System.Xml.XPath 4.0.1 is not compatible with UAP,Version=v10.0 (win10-x64-aot).
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : Some packages are not compatible with UAP,Version=v10.0 (win10-x64-aot).
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : SSH.NET 2016.0.0 is not compatible with UAP,Version=v10.0 (win10-x86).
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : SshNet.Security.Cryptography 1.2.0 is not compatible with UAP,Version=v10.0 (win10-x86).
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : System.Xml.XPath.XmlDocument 4.0.1 is not compatible with UAP,Version=v10.0 (win10-x86).
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : System.Xml.XPath 4.0.1 is not compatible with UAP,Version=v10.0 (win10-x86).
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : Some packages are not compatible with UAP,Version=v10.0 (win10-x86).
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : SSH.NET 2016.0.0 is not compatible with UAP,Version=v10.0 (win10-x86-aot).
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : SshNet.Security.Cryptography 1.2.0 is not compatible with UAP,Version=v10.0 (win10-x86-aot).
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : System.Xml.XPath.XmlDocument 4.0.1 is not compatible with UAP,Version=v10.0 (win10-x86-aot).
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : System.Xml.XPath 4.0.1 is not compatible with UAP,Version=v10.0 (win10-x86-aot).
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : Some packages are not compatible with UAP,Version=v10.0 (win10-x86-aot).
Au caractère Ligne:1 : 1
+ Install-Package SSH.NET
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Aber das macht keinen Sinn. Es hat vor Minuten gut funktioniert. Ich habe versucht, Nuget zu deinstallieren und neu zu installieren, das Projekt zu bereinigen und alles, was zu NuGet gehört, in% AppData% zu löschen, aber nichts funktioniert. Beachten Sie auch, dass dies auch passiert, wenn ich ein neues leeres Projekt erstellen und erstellen möchte.
EDIT: Der Fehler passiert auch mit Microsoft.Toolkit.UWP, mit den gleichen Symptomen von angeblich nicht kompatibel mit UAP,Version=v.10.0
. Ich hatte dieses Paket vor dem Absturz auch zu meinem Projekt hinzugefügt. Dieses Problem tritt jedoch nicht bei anderen Paketen auf, die zuvor nicht installiert wurden.
Vielen Dank für Ihre Lösung hier. Bitte markieren Sie Ihre Antwort, die für andere Gemeinschaften von Vorteil ist, die das gleiche Problem haben. –