jbowmanp1107 / ImageCropper.Maui

MIT License
43 stars 10 forks source link

Path too long. Failed restoring nuget packages #21

Closed Alex-Dobrynin closed 1 month ago

Alex-Dobrynin commented 1 month ago

The new version of timoliver.tocropviewcontroller.maui nuget cannot be restored because the path is too long on Windows OS. On mac is ok. The length of this path is 266 chars "d:\Nuget\packages\timoliver.tocropviewcontroller.maui\2.6.1.3\lib\net8.0-ios17.2\TimOliver.TOCropViewController.Maui.resources\TOCropViewController.xcframework\ios-arm64_x86_64-simulator\TOCropViewController.framework\ar.lproj\TOCropViewControllerLocalizable.strings" Need to shorten more than 10 charaters to fit 255 chars on windows image

jbowmanp1107 commented 1 month ago

Hi! This is a known issue currently..

To work around it on Windows, you can use 'dotnet restore' from the CLI, and it gets around this limitation.. but installing the package from within Visual Studio on Windows is broken in this way at the moment..

jbowmanp1107 commented 1 month ago

This has been addressed in v1.1.0.7. The TimOliver.TOCropViewController.Maui package has been renamed TOCropView.Maui. A new NuGet package has been pushed out, and the old one has been deprecated.