Materialdesigninxamltoolkit: Compilation errors with VS2019 16.5.4, PathTooLongException.

Created on 23 Apr 2020  ·  3Comments  ·  Source: MaterialDesignInXAML/MaterialDesignInXamlToolkit

Hi,
I've compilation errors PathTooLongException on the last Latest commit 83cfb96 and also on 3.1.0.
I'm using VS 2019 v16.5.4.

Putting the project on a short root folder, compilation goes right.
Putting it on the following path, compilation goes wrong :
C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master

These are the compilation messages :

1>------ Début de la génération : Projet : MaterialDesignColors.Wpf, Configuration : Debug Any CPU ------
1>Paket version 5.242.0
1>Paket version 5.242.0
1>C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\MahMaterialDragablzMashUp\obj\paket.processlock is locked by paket.exe (PID = 18056). Waiting...
1>C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\paket-files\paket.processlock is locked by paket.exe (PID = 664). Waiting...
1>C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\paket-files\paket.processlock is locked by paket.exe (PID = 664). Waiting...
1>Starting full restore process.
1>Something went wrong while downloading runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
1>Message: Path too long: C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\packages\runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg
1>  ==> Trying again
1>Something went wrong while downloading runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
1>Message: Path too long: C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\packages\runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg
1>  ==> Trying again
1>Downloading runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
1>Downloading runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
1>Not moving as 'C:\Users\drjas\.nuget\packages\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl\4.3.3\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg' already exists (maybe some other instance downloaded it as well)
1>Download of runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 done in 1 second. (266 kbit/s, 0 MB)
1>Something went wrong while downloading runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
1>Message: Path too long: C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\packages\runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg
1>  ==> Last trial
1>Downloading runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
1>Not moving as 'C:\Users\drjas\.nuget\packages\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl\4.3.3\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg' already exists (maybe some other instance downloaded it as well)
1>Download of runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 done in 1 second. (253 kbit/s, 0 MB)
1>Something went wrong while downloading runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
1>Message: Path too long: C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\packages\runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg
1>  ==> Last trial
1>Downloading runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
1>Not moving as 'C:\Users\drjas\.nuget\packages\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl\4.3.3\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg' already exists (maybe some other instance downloaded it as well)
1>Download of runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 done in 402 milliseconds. (1068 kbit/s, 0 MB)
1>Performance:
1> - Disk IO: 9 milliseconds
1> - Average Download Time: 268 milliseconds
1> - Number of downloads: 4
1> - Average Request Time: 218 milliseconds
1> - Number of Requests: 4
1> - Runtime: 4 seconds
1>Paket failed with
1>-> PathTooLongException: Path too long: C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\packages\runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg
1>-> PathTooLongException: Path too long: C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\packages\runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg
1>-> PathTooLongException: Le chemin d'accès spécifié, le nom de fichier ou les deux sont trop longs. Le nom de fichier qualifié complet doit comprendre moins de 260 caractères et le nom du répertoire moins de 248 caractères.
1>C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\.paket\Paket.Restore.targets(171,5): error MSB3073: La commande ""C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\.paket\paket.exe" restore" s'est arrêtée avec le code 1.
1>Génération du projet "MaterialDesignColors.Wpf.csproj" terminée -- ÉCHEC.
1>Starting full restore process.
1>Something went wrong while downloading runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
1>Message: Path too long: C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\packages\runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg
1>  ==> Trying again
1>Something went wrong while downloading runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
1>Message: Path too long: C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\packages\runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg
1>  ==> Trying again
1>Downloading runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
1>Downloading runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
1>Not moving as 'C:\Users\drjas\.nuget\packages\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl\4.3.3\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg' already exists (maybe some other instance downloaded it as well)
1>Download of runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 done in 1 second. (262 kbit/s, 0 MB)
1>Something went wrong while downloading runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
1>Message: Path too long: C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\packages\runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg
1>  ==> Last trial
1>Downloading runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
1>Not moving as 'C:\Users\drjas\.nuget\packages\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl\4.3.3\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg' already exists (maybe some other instance downloaded it as well)
1>Download of runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 done in 1 second. (255 kbit/s, 0 MB)
1>Something went wrong while downloading runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
1>Message: Path too long: C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\packages\runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg
1>  ==> Last trial
1>Downloading runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
1>Not moving as 'C:\Users\drjas\.nuget\packages\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl\4.3.3\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg' already exists (maybe some other instance downloaded it as well)
1>Download of runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 done in 427 milliseconds. (1001 kbit/s, 0 MB)
1>Performance:
1> - Disk IO: 9 milliseconds
1> - Average Download Time: 253 milliseconds
1> - Number of downloads: 4
1> - Average Request Time: 216 milliseconds
1> - Number of Requests: 4
1> - Runtime: 11 seconds
1>Paket failed with
1>-> PathTooLongException: Path too long: C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\packages\runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg
1>-> PathTooLongException: Path too long: C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\packages\runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg
1>-> PathTooLongException: Le chemin d'accès spécifié, le nom de fichier ou les deux sont trop longs. Le nom de fichier qualifié complet doit comprendre moins de 260 caractères et le nom du répertoire moins de 248 caractères.
1>C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\.paket\Paket.Restore.targets(171,5): error MSB3073: La commande ""C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\.paket\paket.exe" restore" s'est arrêtée avec le code 1.
1>Génération du projet "MaterialDesignColors.Wpf.csproj" terminée -- ÉCHEC.
2>------ Début de la génération : Projet : MaterialDesignThemes.Wpf, Configuration : Debug Any CPU ------
2>Paket version 5.242.0
2>Paket version 5.242.0
2>C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\MahMaterialDragablzMashUp\obj\paket.processlock is locked by paket.exe (PID = 21460). Waiting...
2>C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\paket-files\paket.processlock is locked by paket.exe (PID = 4804). Waiting...
2>C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\paket-files\paket.processlock is locked by paket.exe (PID = 4804). Waiting...
2>Starting full restore process.
2>Something went wrong while downloading runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
2>Message: Path too long: C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\packages\runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg
2>  ==> Trying again
2>Something went wrong while downloading runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
2>Message: Path too long: C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\packages\runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg
2>  ==> Trying again
2>Downloading runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
2>Downloading runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
2>Not moving as 'C:\Users\drjas\.nuget\packages\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl\4.3.3\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg' already exists (maybe some other instance downloaded it as well)
2>Not moving as 'C:\Users\drjas\.nuget\packages\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl\4.3.3\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg' already exists (maybe some other instance downloaded it as well)
2>Download of runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 done in 1 second. (242 kbit/s, 0 MB)
2>Download of runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 done in 1 second. (241 kbit/s, 0 MB)
2>Something went wrong while downloading runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
2>Message: Path too long: C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\packages\runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg
2>  ==> Last trial
2>Something went wrong while downloading runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
2>Message: Path too long: C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\packages\runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg
2>  ==> Last trial
2>Downloading runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
2>Downloading runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
2>Not moving as 'C:\Users\drjas\.nuget\packages\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl\4.3.3\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg' already exists (maybe some other instance downloaded it as well)
2>Download of runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 done in 443 milliseconds. (965 kbit/s, 0 MB)
2>Performance:
2> - Disk IO: 10 milliseconds
2> - Average Download Time: 284 milliseconds
2> - Number of downloads: 4
2> - Average Request Time: 225 milliseconds
2> - Number of Requests: 4
2> - Runtime: 3 seconds
2>Paket failed with
2>-> PathTooLongException: Path too long: C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\packages\runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg
2>-> PathTooLongException: Path too long: C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\packages\runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg
2>-> PathTooLongException: Le chemin d'accès spécifié, le nom de fichier ou les deux sont trop longs. Le nom de fichier qualifié complet doit comprendre moins de 260 caractères et le nom du répertoire moins de 248 caractères.
2>Starting full restore process.
2>C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\.paket\Paket.Restore.targets(171,5): error MSB3073: La commande ""C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\.paket\paket.exe" restore" s'est arrêtée avec le code 1.
2>Génération du projet "MaterialDesignThemes.Wpf.csproj" terminée -- ÉCHEC.
2>Something went wrong while downloading runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
2>Message: Path too long: C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\packages\runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg
2>  ==> Trying again
2>Something went wrong while downloading runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
2>Message: Path too long: C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\packages\runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg
2>  ==> Trying again
2>Downloading runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
2>Downloading runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
2>Not moving as 'C:\Users\drjas\.nuget\packages\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl\4.3.3\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg' already exists (maybe some other instance downloaded it as well)
2>Download of runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 done in 1 second. (262 kbit/s, 0 MB)
2>Something went wrong while downloading runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
2>Message: Path too long: C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\packages\runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg
2>  ==> Last trial
2>Not moving as 'C:\Users\drjas\.nuget\packages\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl\4.3.3\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg' already exists (maybe some other instance downloaded it as well)
2>Download of runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 done in 1 second. (261 kbit/s, 0 MB)
2>Something went wrong while downloading runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
2>Message: Path too long: C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\packages\runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg
2>  ==> Last trial
2>Downloading runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
2>Downloading runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3
2>Not moving as 'C:\Users\drjas\.nuget\packages\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl\4.3.3\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg' already exists (maybe some other instance downloaded it as well)
2>Download of runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 done in 472 milliseconds. (905 kbit/s, 0 MB)
2>Not moving as 'C:\Users\drjas\.nuget\packages\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl\4.3.3\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg' already exists (maybe some other instance downloaded it as well)
2>Download of runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.3 done in 474 milliseconds. (905 kbit/s, 0 MB)
2>Performance:
2> - Disk IO: 9 milliseconds
2> - Average Download Time: 254 milliseconds
2> - Number of downloads: 4
2> - Average Request Time: 211 milliseconds
2> - Number of Requests: 4
2> - Runtime: 6 seconds
2>Paket failed with
2>-> PathTooLongException: Path too long: C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\packages\runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg
2>-> PathTooLongException: Path too long: C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\packages\runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl.4.3.3.nupkg
2>-> PathTooLongException: Le chemin d'accès spécifié, le nom de fichier ou les deux sont trop longs. Le nom de fichier qualifié complet doit comprendre moins de 260 caractères et le nom du répertoire moins de 248 caractères.
2>C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\.paket\Paket.Restore.targets(171,5): error MSB3073: La commande ""C:\PROJETS\Soft PC\PC Libraries\C#\Material Design In XAML\Toolkit .Net 4.0\MaterialDesignInXamlToolkit-master\.paket\paket.exe" restore" s'est arrêtée avec le code 1.
2>Génération du projet "MaterialDesignThemes.Wpf.csproj" terminée -- ÉCHEC.
========== Génération : 0 a réussi, 2 a échoué, 1 mis à jour, 0 a été ignoré ==========

...



Out of scope question

All 3 comments

Hi,
this is a limitation from the Windows Kernel see: https://docs.microsoft.com/de-de/windows/win32/fileio/naming-a-file?redirectedfrom=MSDN#maximum-path-length-limitation

The easiest solution would be to reduce your path length.
If you are using Windows 10 you can try to enable LongPaths, see https://docs.microsoft.com/de-de/windows/win32/fileio/naming-a-file#enable-long-paths-in-windows-10-version-1607-and-later

Let me know if this worked.

I agree with @w-syss this is not something this library can handle. The simplest option is to move the location where you checkout the library to a folder closer to C:. I personally put my projects in C:Dev simply because it is a nice short file path.

@w-syss and @Keboo , thank you for your recommendation. Regards.

Was this page helpful?
0 / 5 - 0 ratings