-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Workload install error - Unable to install maui workload on Windows - .NET 9 Preview 3 #40221
Comments
Same for me |
The same for me. It installs dozens of packages and then fails at |
Also having the same issue. |
(When something like this happen, I tend to try copying sources from https://github.com/dotnet/maui/blob/net9.0/NuGet.config. Maybe it would help here. IDK.) |
This does not work either. I tried using |
I just copied all the sources to my NuGet.config file. |
Ok. It worked. Thanks. |
adding the sources to Windows: %appdata%\NuGet\NuGet.Config from https://github.com/dotnet/maui/blob/net9.0/NuGet.config fixed it for me. |
I believe this is the feed you need:
|
I believe I've fixed this now, packages have been pushed. |
It's still not working perfectly. If we try to do Pair to Mac, there's this error: However, if we add NuGet.config to our .NET 9.0 MAUI project like this: https://github.com/dotnet/maui/blob/net9.0/NuGet.config The error goes away. |
I think you somehow picked up some preview 4 builds from those additional feeds at some point, because preview 4 packages are not supposed to be on nuget.org yet. |
We are not sure why it is looking for preview4 packages. We have defined preview3 SDK in our global.json. |
I can confirm that the iOS workload download (on Mac especially when Pairing to Mac from Windows) is still not working as of now. |
If you still have problems, please try to completely remove .NET, make sure you don't have any custom NuGet sources, and then try to install .NET 9 preview 3 again. |
This is a problem on the Mac side when pairing to Mac. What is the best way of removing .NET from Mac? Pair to Mac functionality on Windows has been handling everything so far for me. |
The pairing to Mac functionality installs whatever is installed on the Windows machine; which means that starting from a clean slate on Windows is likely to fix the problem on the Mac too. In the case this isn't so, pair to Mac installs .NET here:
You can remove this directory (or rename it, so you can add it back if something goes wrong) |
Thanks, we'll check this out. |
Description
Workload install error - Unable to install maui workload on Windows - .NET 9 Preview 3
Workload installation failed: One or more errors occurred. (Version 17.0.8519 of package microsoft.ios.sdk.net8.0_17.0.msi.x64 is not found in NuGet feeds https://api.nuget.org/v3/index.json;C:\Program Files (x86)\Microsoft SDKs\NuGetPackages)
Steps to Reproduce
Link to public reproduction project repository
Workload install issue
Version with bug
9.0.0-preview.3.10457
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
9.0.0-preview.2.10293
Affected platforms
iOS
Affected platform versions
iOS
Did you find any workaround?
None
Relevant log output
The text was updated successfully, but these errors were encountered: