Unable to build the .NET MAUI Preview 9 project, VS IDE reports missing components, maui-check tool unable to find the package as it still points to RC 1 source feed
See original GitHub issueDescription
Unable to build the .NET MAUI Preview 9 project, VS IDE reports missing components, maui-check
tool unable to find the package as it still points to RC 1 source
Steps to Reproduce
- Update VS2022 to Preview 5 (17.0.0 Preview 5.0) with .NET MAUI (Preview) optional workload installed
- Updated the .NET MAUI templates to the latest (preview 9)
dotnet new --install Microsoft.Maui.Templates
- Tried creating a new .NET MAUI project from both CLI and VS IDE, upon loading the project in VS IDE, it reports missing components, but upon launching VS installer, it reports all the required components are up-to-date. Refer attached screenshots
- Tried to update the workloads/missing components to the latest using both
dotnet workload update
andmaui-check
and they end up in error as they still point to the RC1 feeds - Error reported by
dotnet workload update
command - microsoft.net.sdk.maui.manifest-6.0.100.msi.x64::6.0.101-preview.9.1805 is not found in NuGet feeds - Error reported by
maui-check
command - microsoft.maui.core.ref.android.msi.x64::6.0.101-preview.9.1805 is not found in NuGet feeds
Kindly let me know the RC2 source feed URL to try the same and I tried the below URL but it’s not available (https://pkgs.dev.azure.com/dnceng/public/_packaging/6.0.100-rc.2.21505.57-shipping/nuget/v3/index.json).
Expected Behavior
The project should build and run on all the supported platforms.
Actual Behavior
Reports missing components and there is no solution to install/update them for now.
Basic Information
- Version with issue: .NET MAUI Preview 9
- Last known good version: NA
- IDE: VS 2022 Preview 5 (17.0.0 Preview 5.0)
- Platform Target Frameworks:
- iOS:
- Android:
- UWP:
- Android Support Library Version:
- Nuget Packages:
- Affected Devices:
Screenshots
Reproduction Link
Workaround
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:21 (5 by maintainers)
Top Results From Across the Web
Troubleshoot known issues - .NET MAUI
If you're still unable to access the Xcode > Preferences > Locations > Command Line Tools drop-down, run the following command:.
Read more >NET MAUI Project Issues - visual studio
On PC: IMHO, DON'T run mauicheck. NOR any "old" way of installing Maui workload. (On Mac, VS 17.3.0 Preview 1.1 still requires a...
Read more >.NET MAUI Preview 7 - Full Windows & Mac Setup with CLI ...
NET MAUI app for iOS & Mac Catalyst 17:20 - . NET MAUI Setup on Windows with Visual Studio 2022 20:30 - File,...
Read more >Add MAUI support in Rider : RIDER-62127 - YouTrack
Hi everyone there. We are working on it. You will be able to try to build/run/debug MAUI project in the very first EAP...
Read more >Getting Started With MAUI Xamarin Forms Application ...
Open Run CMD as an Administrator mode and install the MAUI Check tool using the below line. dotnet tool install -g Redth.Net.Maui.Check.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I got mine problem as well, but did resolve which follow like the other preview.
The recommended fix is to manually delete everything under “C:\Program Files\dotnet\metadata\workloads” and then install the workloads manually followed by another run at maui-check. And yup maui-check still help for me.
hope it helps.
Many errors here too after VS update (=> 17.1.0 Preview 1.1)
First quit all VS instances
Then I deleted the content of
C:\Program Files\dotnet\metadata\workloads\
(thanks to @mindtalk69)Finally Powershell with admin rights
And all these issues disappeared. Hop it helps.