Activities of "davidlbrenchley@gmail.com"

Having dropped and reinstalled Visual Studio as well as re-imaging the linked Mac air, it looks like it is working for simulator. It still does not work if using Local Device having a iphone plugged into the computer.

If I remove the LeptonX nuget package entirely, it doesn't have this issue. Clearly there is something wrong with the LeptonX package.

Try this repository. It was built with ABP Suite and won't compile for iOS regardless of which simulator or local device is chosen.

https://github.com/curelom/abp_7_2_2

That is fine. I'm on vacation this week.

Yes, I checked that. Ran with very short directory path and still have the issue. It's actually a different issue as this one has the double backslash while the other ticket doesn't.

Looks like you ran it from a mac. Try using Visual Studio 17.6.2 or above on a PC and select IOS Local device or IOS simulator.

  • ABP Framework version: v7.2.2
  • UI type: MauiBlazor
  • DB provider: EF Core
    • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:" Compile MauiBlazor for iPhone IOS.

Severity Code Description Project File Line Suppression State Error MSB3027 Could not copy "C:\Users\david.nuget\packages\volo.abp.aspnetcore.components.web.leptonxtheme\2.2.1\staticwebassets\side-menu\libs\bootstrap-datepicker\css\bootstrap-datepicker.standalone.min.css" to "C:\Users\david\AppData\Local\Temp\Xamarin\HotRestart\Signing\VetConn.MauiBlazor.app\out\Payload\VetConn.MauiBlazor.app\\wwwroot_content\Volo.Abp.AspNetCore.Components.Web.LeptonXTheme\side-menu\libs\bootstrap-datepicker\css\bootstrap-datepicker.standalone.min.css". Exceeded retry count of 10. Failed. VetConn.MauiBlazor C:\Program Files\dotnet\packs\Microsoft.iOS.Windows.Sdk\16.4.7060\tools\msbuild\iOS\Xamarin.iOS.HotRestart.targets 233

If you notice the path just before the wwwroot has a double backslash "\\wwwroot". It should have just a single backslash. This only occurs with iOS. Android compiles and works fine.

public static class ServiceLocator { public static IServiceProvider Current =>

#if WINDOWS MauiWinUIApplication.Current.Services; #elif ANDROID MauiApplication.Current.Services; #elif IOS || MACCATALYST MauiUIApplicationDelegate.Current.Services; #else null; #endif }

Yay, That worked! Thank you

Hi,

What's your steps?

1, Ensure that the Maui project and not the MauiBlazor project is the startup project. 2. Ensure that the run button is selecting an Android emulator or a local android device. 3. Change from Debug mode to Release mode. 4. Run project. 5. When it runs you will see the splash screen for a second or two, and then it disappears and the app crashes.

Hi,

The MauiBlazorCachedApplicationConfigurationClient will initialize when the application starts.

https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.AspNetCore.Components.MauiBlazor/Volo/Abp/AspNetCore/Components/MauiBlazor/AbpAspNetCoreComponentsMauiBlazorModule.cs#L41

I don't know the reason for the problem, How I reproduce the problem, could you provide the full steps? thanks.

I had commented out the below which was giving me these other problems. I uncommented it, removing those issues, but brings the original problem back again of not being able to run in Release mode.

    app.Services.GetRequiredService<IAbpApplicationWithExternalServiceProvider>().Initialize(app.Services);

I have verified again that the github repository I shared earlier in the ticket still has that problem and you can examine that.

ok,

Been able to narrow it down a bit further. Getting an error trying to use the string localizer now saying
MauiBlazorCachedApplicationConfigurationClient should be initialized before using it.

Showing 1 to 10 of 17 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11