Skip to content
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

[Bug]: Nuget - Error Updating from 5.1.2 to 5.1.3 Maui 8.0 #109

Open
1 task done
SC-HeinrichG opened this issue May 28, 2024 · 4 comments
Open
1 task done

[Bug]: Nuget - Error Updating from 5.1.2 to 5.1.3 Maui 8.0 #109

SC-HeinrichG opened this issue May 28, 2024 · 4 comments

Comments

@SC-HeinrichG
Copy link

What happened?

When updating the Nuget Package I get the following error:

Error Could not find a part of the path 'C:\Users[UserName].nuget\packages\onesignalsdk.dotnet\5.1.3\res\ios\OneSignalFramework.xcframework\ios-arm64_x86_64-maccatalyst\OneSignalFramework.framework\Versions\Current\Modules\OneSignalFramework.swiftmodule\x86_64-apple-ios-macabi.private.swiftinterface'.

Steps to reproduce?

1.) Create a new Maui App.
2.) Use Plug-In version 5.1.2
<PackageReference Include="OneSignalSDK.DotNet" Version="5.1.2" />
3.) Go to Nuget Manager
4.) Update Plug-In to 5.1.3
5.) Will throw the above error and not do the Plug-In update

What did you expect to happen?

I expected to see the new package version of 5.1.3 to be installed.

Relevant log output

Severity	Code	Description	Project	File	Line	Suppression State
'C:\Users\[UserName]\.nuget\packages\onesignalsdk.dotnet\5.1.3\res\ios\OneSignalFramework.xcframework\ios-arm64_x86_64-maccatalyst\OneSignalFramework.framework\Versions\Current\Modules\OneSignalFramework.swiftmodule\x86_64-apple-ios-macabi.private.swiftinterface'.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@snoova
Copy link

snoova commented Jun 6, 2024

@SC-HeinrichG See here: #108 (comment)

If I am correct, it is because the path is too long and therefore Visual Studio fails to restore the Nuget package.

@SC-HeinrichG
Copy link
Author

I used the dotnet cli to do the update.

@DaveBrask
Copy link

Documentation on how to do this with CLI would be great.

@mads195
Copy link

mads195 commented Sep 10, 2024

This is the same as #108 - I've put get round step in my response to the original report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants