-
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
Empty MAUI project does not compile: dotnet workload install and restore for android workload fail in microsoft.android.sdk.windows.msi.x64::33.0.80 is not found in NuGet feeds https://api.nuget.org/v3/index.json #16657
Comments
Can you try again? I think you may have the dotnet8 nuget feed, and that package has some issues. If you try again you should get a new version. |
Hi @TommiGustafsson-HMP. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
Meanwhile I have reinstalled VS 2022 Preview (17.8.0 Preview 1.0) and it works for net8.0-android project. But the stable version (17.7.0) gives the following error, when rebuilding inside Visual Studio:
HOWEVER, if I do
But it still does not rebuild inside Visual Studio (stable). So, is this a tooling problem? How do I get Visual Studio to work? |
Thanks for the issue report @TommiGustafsson-HMP! This issue appears to be a problem with Visual Studio, so we ask that you use the VS feedback tool to report the issue. That way it will get to the routed to the team that owns this experience in VS. If you encounter a problem with Visual Studio, we want to know about it so that we can diagnose and fix it. By using the Report a Problem tool, you can collect detailed information about the problem, and send it to Microsoft with just a few button clicks.
|
Moved to Visual Studio feedback: https://developercommunity.visualstudio.com/t/Empty-NET-MAUI-NET-7-Application-doe/10442698 |
Description
I'm trying to compile an empty MAUI project for Android. If I try to build the project in Visual Studio 2022, I get this error:
It tells me to do
dotnet workload restore
but it ends in an error:There's no Microsoft.Android.Sdk.Windows.Msi.x64 33.0.80 in NuGet.
This happens with
dotnet workload restore
,dotnet workload install android
anddotnet workload install maui
.dotnet workload uninstall android
says: "Workload uninstallation failed: Couldn't find workload ID(s): android"dotnet workload list
gives:Android seems to be at 33.0.80!
dotnet workload update
ends in an error:I am unable to compile an empty MAUI project for Android. Other platforms seem to work, at least Windows.
I have a fresh Visual Studio 2022 17.7.0 installation. I have tried reinstalling but it did not help.
Steps to Reproduce
To install these workloads, run the following command: dotnet workload restore"
dotnet workload restore
, says:Workload installation failed: One or more errors occurred. (microsoft.android.sdk.windows.msi.x64::33.0.80 is not found in NuGet feeds https://api.nuget.org/v3/index.json
Link to public reproduction project repository
No response
Version with bug
7.0.92
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
No response
Did you find any workaround?
No
Relevant log output
No response
The text was updated successfully, but these errors were encountered: