A community member has associated this post with a similar question:
Microsoft Visual Studio Professional 2022 (64-bit) - Preview Version 17.14.0 Preview 2.0 will no longer compile my MAUI app

Only moderators can edit this content.

Microsoft Visual Studio Professional 2022 (64-bit) - Preview Version 17.14.0 Preview 2.0 will no longer compile my MAUI app

Steve Frase 0 Reputation points
2025-03-12T01:09:39.4466667+00:00

After installing Visual Studio 2022 Preview 2, my MAUI app won't build.

Trying to restore workloads, I get this:
Workload update failed: One or more errors occurred. (Version 35.0.50 of package microsoft.android.sdk.windows.msi.x64 is not found in NuGet feeds https://api.nuget.org/v3/index.json;C:\Program Files (x86)\Microsoft SDKs\NuGetPackages.)

Visual Studio reports in Output:

Unable to find package Microsoft.Android.Ref.34 with version (= 34.0.148)

  • Found 23 version(s) in nuget.org [ Nearest version: 34.99.0-preview.1.151 ]
  • Found 0 version(s) in Microsoft Visual Studio Offline Packages
  • Found 0 version(s) in C:\Program Files\dotnet\library-packs
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,994 questions
0 comments No comments
{count} vote