-
Notifications
You must be signed in to change notification settings - Fork 54
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 install the package in a NET8 MAUI project #266
Comments
Your NuGet package folder causes to long filepaths. Change your NuGet folder in environement variables, reboot your system after. Also a lot of other stuff to fix issues here, scroll down to Trouble Shooting |
The error still persists for me, even after successfully setting the NuGet path to C:\NuGet. Any fix? Version 2.0.11 doesn't seem to work anymore in my project. |
first enable long path using power shell
Then in visual studio, Package Manager Console: After that, you can build your project using visual studio (gui) without having to command line again. |
After setting the registry, I continue to have the same error. I tried to download the NuGet package and unpack on the NuGet directory but the result is the same. |
THis does not work - I already had that enabled and use the same folder for nugets - I wish they would shorten the path OR work with Microsoft to address this. |
Make sure to clear your local .nuget cache before running a dotnet restore from command line. |
Hello, i'm having a similar problem in Net 8 upgrading from V2.0.13 to 3.0.0, same error but with different file I already enabled the long Path, changed the environment variables to c:\nuget, cleared nuget cache, ran dot net restore, reboot my computer but the error keeps showing up, any idea? |
I recommend trying to isolate the problem. If the reported file doesn't exist after running If the file does exist, you can try building your iOS app from the command line. If that doesn't work, then the problem is in If you can build from the command line, but not in Visual Studio, I think that would indicate that the problem is in Visual Studio itself. Check out: dotnet/maui#17828 |
So I was able to update using CLI, but now when i Try to run the project from Windows, paired to a Mac i get the following errors The errors are similar in the command line |
HI,
I was traying to add this NuGet package to my
.NET8
MAUI
project but I get this error:Do you know if there is a fix for it?
Thank you in advance,
Enrico
The text was updated successfully, but these errors were encountered: