-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
NuGet restore is failing while building the project #504
Comments
Check the instructions here and the NuGet.config. https://github.com/dotnet/maui/wiki/Getting-Started |
Thanks, it progressed a bit, i.e. tried to restore, but stuck here now : when I tried to execute this command: PS: I have already installed the Android and iOS workloads as per the instruction here - https://github.com/dotnet/net6-mobile-samples Output:
|
I enabled Hyper V, restarted Windows around 3 times, it worked ! I am not able to say why exactly though. In between restarts, I could see that Example:
2.
After attaching my phone, I followed this doc - https://docs.microsoft.com/en-us/xamarin/android/get-started/installation/set-up-device-for-development. Still did not run. I restarted Windows twice as I did not know what to do because errors were not consistent. And, it worked. Little confused though. Need to try the steps on a new machine again to understand what I just did as I am not able to sum up.
From my Android phone: |
Public previews now ship on NuGet.org and should restore without specifying additional feeds. |
Description
Getting Build error related to NuGet packages not being able to restore
Steps to Reproduce
dotnet build src\Controls\samples\Controls.Sample.Droid\Maui.Controls.Sample.Droid-net6.csproj -t:Run
Expected Behavior
Build should be successful
Actual Behavior
NuGet restore is failing
Basic Information
Exception Output:
The text was updated successfully, but these errors were encountered: