Open Closed

Maui templates still seem to be broken #4857


User avatar
0
improwise created
  • ABP Framework version: 7.1.1
  • UI type: Blazor/Maui

When using ABP Suite to try to create a MAUI project, it seems everything with LeptonX won't compile at all, giving you lots of errors like.

Severity Code Description Project File Line Suppression State Error MSB3027 Could not copy "C:\Users....nuget\packages\volo.abp.aspnetcore.components.web.leptonxtheme\2.1.0\staticwebassets\side-menu\libs\bootstrap-datepicker\css\bootstrap-datepicker3.standalone.min.css" to "M:\Projects\ASP.NET\ABP\src\BlazorHybrid4\aspnet-core\src\BlazorHybrid4.MauiBlazor\obj\Debug\net7.0-android\assets\wwwroot_content\Volo.Abp.AspNetCore.Components.Web.LeptonXTheme\side-menu\libs\bootstrap-datepicker\css\bootstrap-datepicker3.standalone.min.css". Exceeded retry count of 10. Failed. BlazorHybrid4.MauiBlazor C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\33.0.26\tools\Xamarin.Android.Common.targets 895

If you switch to creating a similar project with just plain Lepton instead, the generated solution will compile and somewhat work, but UI seems really broken, like it can't access CSS files etc.

Haven't used ABP in a few month and at least then, support for MAUI was best described as Alpha / experimental, is this still the case?

I know that MAUI overall seems to be somewhat of an unfinished product, but this seems to be related more to ABP. Can't be sure though as MAUI in itself is kind of pre release.

BTW, this form seems to be broken in responsive mode, and the submit button isn't even displayed in a somewhat narrow web browser. Expand it to full screen and it will show up.


1 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    This is a bug of MAUI: https://github.com/dotnet/maui/issues/10068

    You can solve it with: https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=powershell#enable-long-paths-in-windows-10-version-1607-and-later

Made with ❤️ on ABP v9.1.0-preview. Updated on December 05, 2024, 12:19