Skip to content

not able build maui blazor or maui app project #3451

@suresh-anumolu

Description

@suresh-anumolu

Description

I have installed preview #10 version of visual studio version. when i try to create maui blazor or maui app .. the project is getting created but when i tried to build and run i am getting the following exceptions.

esponse status code does not indicate success: 404 (Not Found).
Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.org/FindPackagesById()?id='Microsoft.Extensions.Logging.Abstractions'&semVerLevel=2.0.0'.
Response status code does not indicate success: 404 (Not Found).
NuGet package restore failed. Please see Error List window for detailed warnings and errors.
Error occurred while restoring NuGet packages: Failed to retrieve information about 'Microsoft.Extensions.Configuration' from remote source 'https://www.nuget.org/packages/Microsoft.Maui.Graphics/FindPackagesById()?id='Microsoft.Extensions.Configuration'&semVerLevel=2.0.0'.
Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.org/FindPackagesById()?id='Microsoft.AspNetCore.Authorization'&semVerLevel=2.0.0'.
Response status code does not indicate success: 404 (Not Found).
Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.org/FindPackagesById()?id='Microsoft.AspNetCore.Components.WebView'&semVerLevel=2.0.0'.
Response status code does not indicate success: 404 (Not Found).
Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.org/FindPackagesById()?id='Xamarin.AndroidX.Legacy.Support.V4'&semVerLevel=2.0.0'.
Response status code does not indicate success: 404 (Not Found).
Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.org/FindPackagesById()?id='Xamarin.AndroidX.Navigation.Runtime'&semVerLevel=2.0.0'.
Response status code does not indicate success: 404 (Not Found).
Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.org/FindPackagesById()?id='Xamarin.AndroidX.Navigation.Common'&semVerLevel=2.0.0'.
Response status code does not indicate success: 404 (Not Found).
Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.org/FindPackagesById()?id='Xamarin.Google.Android.Material'&semVerLevel=2.0.0'.
Response status code does not indicate success: 404 (Not Found).
Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.org/FindPackagesById()?id='Microsoft.JSInterop'&semVerLevel=2.0.0'.
Response status code does not indicate success: 404 (Not Found).
Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.org/FindPackagesById()?id='Xamarin.AndroidX.Lifecycle.LiveData'&semVerLevel=2.0.0'.
Response status code does not indicate success: 404 (Not Found).
Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.org/FindPackagesById()?id='Xamarin.Android.Glide'&semVerLevel=2.0.0'.
Response status code does not indicate success: 404 (Not Found).
Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.org/FindPackagesById()?id='Xamarin.AndroidX.Navigation.Fragment'&semVerLevel=2.0.0'.
Response status code does not indicate success: 404 (Not Found).
Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.org/FindPackagesById()?id='Microsoft.Graphics.Win2D'&semVerLevel=2.0.0'.
Response status code does not indicate success: 404 (Not Found).
Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.org/FindPackagesById()?id='Xamarin.AndroidX.Browser'&semVerLevel=2.0.0'.
Response status code does not indicate success: 404 (Not Found).

Issue #2

1>C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\31.0.101-preview.10.59\tools\Xamarin.Android.Common.targets(509,3): error XA1018: Specified AndroidManifest file does not exist: C:\Users\SureshAnumolu\source\repos\MauiApp2\MauiApp2\AndroidManifest.xml.
1>Done building project "MauiApp2.csproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

Steps to Reproduce

  1. Install VS 2022 preview [Spec] Rounded Corners #10 using the url - https://devblogs.microsoft.com/dotnet/announcing-net-maui-preview-10/comment-page-2/

  2. create Dotnet maui blazor or app

  3. Try to rebuild the app you would see the following errors

OS - Windows 10

Version with bug

Preview 10 (current)

Last version that worked well

Preview 10 (current)

Affected platforms

Android, Windows

Affected platform versions

Android

Did you find any workaround?

No response

Relevant log output

1>C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\31.0.101-preview.10.59\tools\Xamarin.Android.Common.targets(509,3): error XA1018: Specified AndroidManifest file does not exist: C:\Users\SureshAnumolu\source\repos\MauiApp2\MauiApp2\AndroidManifest.xml.
1>Done building project "MauiApp2.csproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-setupInstallation, setup, requirements, maui-check, workloads, platform supportplatform/androidplatform/windowst/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions