Open mixernet opened 3 weeks ago
I use VS 2022 on Windows and it works. If you give more information than just an URL I can help.
I get the same error message when installing the nuget package, any more details i can give? am using VS 2022 on Windows and net 8.0
Strange. What version of Windows and VS 2022 do you use? I use Windows 10 and VS 2022 v17.10 (the latest as by the very moment).
Can thos be related to Windows 11 somehow?
I am certain that the combination of MAUI + VS + Windows 11 is causing this problem. The error is due to the package having a path that is too long during installation AND because VS ignores the LONGPATH registry change for no apparent reason with Windows 11.
@MaximeGammaitoni thanks for this hints! So, can you @mixernet try to checkout your solution in a very short path, e.g. In c:\src and check if the nuget is installable then?
I tried to install the package in the C:\NuGet directory but same problem. I can't install it.
I also tried to install the package on another PC with VS2022 + Win10 but same problem.
@mixernet Even if you are on Windows 10, you need to change the Windows long path registry setting. Have you done that as well?
@MaximeGammaitoni Yes, also changed in Windows 10 but same problem.
@mixernet I just tested the Plugin.Firebase package on Windows 10 with the long path parameter set to 1: it doesn't work with version 3.0.0 of Plugin.Firebase, but it works with version 2.0.14. Can you try on your side?
@MaximeGammaitoni I also tried to install version 2.0.14 on Windows 10 but the problem is still the same.
Did anyone try a solution proposed on stackoverflow?
Nothing
If anyone has news regarding this issue, I can adjust my code. Since I have no Windows 11 installed, I cannot reproduce it. I reopen this issue if we hear news here.
Yeah... this is happening to me as well. Win11 + VS 2022. I have the long file names enabled in the registry, but no joy.
@thomasgalliker Can you reopen this and I will help you troubleshoot? Or can you test it with a Windows 11 VM?
Okay, a psuedo-fix for anyone on Win11 like me: https://github.com/xamarin/GoogleApisForiOSComponents/issues/555#issuecomment-1145943195
I changed my NuGet folder to C:\NG to make sure it was short enough.
Did anyone read this: https://github.com/AdamEssenmacher/GoogleApisForiOSComponents?tab=readme-ov-file#long-path-issue-workarounds
Yeah, that's fine on Windows 10, but no joy on 11. For some weird reason.
I confirm the problem and also confirm the workaround to set as nuget default path on c:\NG works in my case
Odd. I did that and it didn't work for me (Windows 11).
On Mon, Jul 1, 2024, 11:44 biagio983 @.***> wrote:
I confirm the problem and also confirm the workaround to set as nuget default path on c:\NG works in my case
— Reply to this email directly, view it on GitHub https://github.com/thomasgalliker/Plugin.FirebasePushNotifications/issues/31#issuecomment-2199699444, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVGRKQQ7E25MDWMBTJQEQYTZKEQGBAVCNFSM6AAAAABIYACC4GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJZGY4TSNBUGQ . You are receiving this because you commented.Message ID: <thomasgalliker/Plugin.FirebasePushNotifications/issues/31/2199699444@ github.com>
Odd. I did that and it didn't work for me (Windows 11). … On Mon, Jul 1, 2024, 11:44 biagio983 @.***> wrote: I confirm the problem and also confirm the workaround to set as nuget default path on c:\NG works in my case — Reply to this email directly, view it on GitHub <#31 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVGRKQQ7E25MDWMBTJQEQYTZKEQGBAVCNFSM6AAAAABIYACC4GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJZGY4TSNBUGQ . You are receiving this because you commented.Message ID: <thomasgalliker/Plugin.FirebasePushNotifications/issues/31/2199699444@ github.com>
It was not odd... in my case works.. and I'm also on win11
Description
Install-Package : Impossibile trovare una parte del percorso 'C:\Users\webma.nuget\packages\xamarin.firebase.ios.installations\8.10.0.3\lib\net6.0-ios15.4\Firebase.Installations.resources\FirebaseInstallations.xcframework\ios-arm64_x86_64-simulator\Fir ebaseInstallations.framework\Headers\FirebaseInstallations-umbrella.h'.
Steps to Reproduce
Expected Behavior
Actual Behavior
Basic Information
Screenshots
Reproduction Link