-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't update urbanairship.netstandard from 14.1.1 to 14.2.0 #181
Comments
For what it's worth, trying to install |
@alexthekid07 that's strange. so you tried it on macOS as well and it still has the same error? what version of visual studio are you using? |
Using VS 2019 Enterprise 16.11.0 Preview 1.0 I also use the Preview channel on macOS and get the same error. Not sure if it's related. |
@alexthekid07 we're on the stable release (VS Community 8.0.8 for Mac, Version: 14.16.0.5 for Xamarin iOS). It's possible this is related, do you have a non-preview version laying around? I can also try to upgrading my VS to the current preview version though I'm a little wary of doing this since it can often be difficult to undo. |
Same error here. Firstly with the same file then I knew some issue with "path lenght" limited to 256 characters for Visual Studio Project. I tried to change nuget repository path , but ... 262 chars here : D:.p\urbanairship.ios.messagecenter\14.4.1\content\AirshipBindings.iOS.MessageCenter.resources\AirshipMessageCenter.xcframework\ios-arm64_x86_64-maccatalyst\AirshipMessageCenter.framework\Versions\Current\Resources\UADefaultMessageCenterListViewController.nib Error still here with another file this time. And Nuget Lenght is already > 256 :( |
Hi @jm-parent, Sorry you're having this issue. Does the issue still persist if you follow the instructions in this article about enabling long paths in Windows? https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=cmd We do not have a Windows build system at the moment, so it's difficult to reproduce on our end. @alexthekid07 were you ever able to find a workaround for this? |
Nope, I've just let it be for now. I get the same error on VS for Mac, too. Doesn't seem to be a file path length issue for me. I'll probably update to VS2022 soon and see if it still happens there. |
@alexthekid07 The offending path in your original error log is 261 characters, though. I'm considering whether it might be possible to shorten them by abbreviating some of the non-file-related bits, but if it's a problem on Mac as well that may not help. |
That's what i did after all. ( this regedit variable have to be set to true by default ! :D ) |
@marc-scig Still getting this error trying to update to the newer "airship.ios"
"airship.netstandard" installs fine.
|
@alexthekid07 If you move your nugets to C:/ you will be under the max path length. It sounds like Xamarin will provide a proper solution later this year - xamarin/xamarin-macios#10819 (comment) so hopefully this issue will eventually go away. |
Closing this due to inactivity. If these issues persist, please file a new issue. |
Whenever I try to upgrade my Xamarin.Forms project to use
urbanairship.netstandard
14.2.0 I get this:I have tried clearing all the Nuget caches and whatnot manually, clearing out the folder(s) noted in the errors, and even tried using VS for Mac instead.
The text was updated successfully, but these errors were encountered: