This error occurs when I attempt to archive the iOS version of the MAUI app. This same issue has happened in previous versions of abp.io. How can I successfully archive my MAUI app using Visual Studio for Mac?
I can create an .ipa file using the dotnet publish command, but the archive that gets generated is failing once it is deployed to the app store. According to other sources Visual Studio for Mac should be able to generate an archive for iOS now.
Please advise.
I have a MAUI app that was created using v7.3.3 that compiles successfully when I target my iOS phone, but when I attempt to compile the app targeting my android device it get 100 errors all related to androidx components or symbols not being found. Below are a couple examples.
/<project path>/aspnet-core/src/BCFOAssistant.Maui/obj/Debug/net7.0-android/android/src/crc64396a3fe5f8138e3f/CustomTabsServiceConnectionImpl.java(37,37): Error JAVAC0000: error: cannot find symbol extends androidx.browser.customtabs.CustomTabsServiceConnection symbol: class CustomTabsServiceConnection location: package androidx.browser.customtabs (JAVAC0000) (BCFOAssistant.Maui) javac
/<project path>/aspnet-core/src/BCFOAssistant.Maui/obj/Debug/net7.0-android/android/src/crc6477f0d89a9cfd64b1/ItemsViewAdapter_2.java(51,51): Error JAVAC0000: error: package androidx.recyclerview.widget.RecyclerView does not exist extends androidx.recyclerview.widget.RecyclerView.Adapter (JAVAC0000) (BCFOAssistant.Maui) javac
/<project path>/aspnet-core/src/BCFOAssistant.Maui/obj/Debug/net7.0-android/android/src/crc6477f0d89a9cfd64b1/VisualElementRenderer_1.java(28,28): Error JAVAC0000: error: cannot find symbol extends com.microsoft.maui.MauiViewGroup symbol: class MauiViewGroup location: package com.microsoft.maui (JAVAC0000) (BCFOAssistant.Maui) javac
I am running this on my MAC which was just updated to the latest MAC-OS and Xcode 15. I have been working on the iOS version and only today attempted to build the android version, so I don't know if this is an issue with the updates or if it has always been an issue.
Any assistance would be appreciated.
I have a DTO that has a main set of data and each "row" of that data set has two additional sets of data similar to this: Person (main data set) Itemset1 (first associated data set) Itemset2 (second associated data set) The resulting excel spreadsheet should look like this: Bill Jones | address1 | city | state | postalcode Item1Elem1Name | Item1Elem1other data Item1Elem2Name | Item1Elem2other data Item2Elem1Name | Item2Elem1otherdata . . etc.
I need to export this data to Excel and can't figure out how to accomplish it. I can't find any example of how to accomplish this. Can you provide direction?
I have installed Volo.Abp.Cli version 7.3.2 on my MacBook Pro using the dotnet tool install (update) -g Volo.Abp.Cli command. The tool installs successfully but when I try to run my application from Visual Studio it tells me that I must login to abp (license violation). When I attempt to login to abp (abp login <user>) it tells me that abp command cannot be found. How do I access the abp executable on a Mac? I need to be able to run suite and my applications on the Mac.
ABP Framework version: v7.3.0
UI type: MVC
DB provider: EF Core
Tiered (MVC) or Identity Server Separated (Angular): no
Exception message and stack trace:
Volo.Abp.AbpInitializationException: An error occurred during ConfigureServicesAsync phase of the module Volo.Abp.OpenIddict.AbpOpenIddictAspNetCoreModule, Volo.Abp.OpenIddict.AspNetCore, Version=7.3.0.0, Culture=neutral, PublicKeyToken=null. See the inner exception for details. ---> System.IO.FileNotFoundException: Signing Certificate couldn't found: C:\home\site\wwwroot\authserver.pfx at BCFOAssistant.Web.BCFOAssistantWebModule.GetSigningCertificate(IWebHostEnvironment hostingEnv, IConfiguration configuration) in C:\Projects\BCFOAssistant\aspnet-core\src\BCFOAssistant.Web\BCFOAssistantWebModule.cs:line 365
Steps to reproduce the issue:
Create App Service web site on Azure
Deploy web app to Azure
Attempt to run site
Receive error
I generated the authserver.pfx file and uploaded it to azure. When I did it asked me to install and I did. However the web app still fails with the same error.
I've looked at other things that talk about creating the .pfx file and have done that. None of the documentation seems to match when it comes to configuring my app to use/recognize the certificate. It would be helpful to get some clear documentation on complete steps to get the certificate(s) installed on Azure and the app configured to use them.
I have an application (MVC, non-tiered, EF database) that was created using Abp.io version 5.3.2 and .NETCore 6.0. The project includes a MAUI mobile app. Because of several issues with the MAUI app I have to update the .NETCore to 7.0 to get it to build properly for release. I also updated the ABP packages as follows:
<PackageReference Include="Volo.Abp.Autofac" Version="7.2.3" />
<PackageReference Include="Volo.Abp.AspNetCore.Serilog" Version="7.2.3" />
<PackageReference Include="Volo.Abp.AspNetCore.Authentication.JwtBearer" Version="7.2.3" />
<PackageReference Include="Volo.Abp.Swashbuckle" Version="7.2.3" />
<PackageReference Include="Volo.Abp.FeatureManagement.Web" Version="7.2.3" />
<PackageReference Include="Volo.Abp.Account.Pro.Public.Web.IdentityServer" Version="5.3.0" />
<PackageReference Include="Volo.Abp.Account.Pro.Admin.Web" Version="5.3.0" />
<PackageReference Include="Volo.Abp.AuditLogging.Web" Version="5.3.0" />
<PackageReference Include="Volo.Abp.Identity.Pro.Web" Version="5.3.0" />
<PackageReference Include="Volo.Abp.LeptonTheme.Management.Web" Version="5.3.0" />
<PackageReference Include="Volo.Abp.IdentityServer.Web" Version="5.3.0" />
<PackageReference Include="Volo.Abp.LanguageManagement.Web" Version="5.3.0" />
<PackageReference Include="Volo.Saas.Host.Web" Version="5.3.0" />
<PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton" Version="5.3.0" />
<PackageReference Include="Volo.Abp.TextTemplateManagement.Web" Version="5.3.0" />
In doing so, I cannot run my web app successfully. On startup I get the following error:
Method 'GetListAsync' in type 'Volo.Abp.Identity.EntityFrameworkCore.EfCoreIdentityUserRepository' from assembly 'Volo.Abp.Identity.EntityFrameworkCore, Version=5.3.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
I am guessing there are some framework changes that are not properly updated but I don't know where to look/start. Please provide guidance.
ABP Framework 5.3.3 MAUI .NET 6.0 .NET MVC backend (API)
I have a project that was created last year with 5.3.3 that I'm trying to get published to Apple's store. I have had several issues with getting this done. I was able to get the Android version created and published without a problem, but the iOS version has been a real problem. Currently, when I try to compile the app I get the following error:
error NETSDK1005: Assets file 'Z:\Projects\xxxx\aspnet-core\src\xxxx.Application.Contracts\obj\project.assets.json' doesn't have a target for 'net6.0-ios'. Ensure that restore has run and that you have included 'net6.0-ios' in the TargetFrameworks for your project.
One time I got past this error by not referencing the non-MAUI projects directly but referencing the .dll's. However, when I did this and got a build, the generated app failed to include the MauiProgram.cs file and would crash immediately after showing the splash screen.
I need help!
I have just updated my subscription and can try to rebuild the app with the latest version of ABP commercial, but would rather get the current version working.
I renewed my license for the Commercial version today and am trying to use Suite to review my projects. When I attempt to load my project I get an error and the project won't load. I need to be able to load previous projects in Suite to review entities.
I am using 7.1.1 version of ABP and Suite 7.0.3
I am trying to redirect to a page in my OnPost method but the page never appears. The call to the RedirectToPage() doesn't throw an exception but in the logs this is what I get: 2022-12-29 14:32:15.195 -06:00 [INF] Request finished HTTP/2 POST https://localhost:44386/TenantRequests/CreateModal application/x-www-form-urlencoded;+charset=UTF-8 476 - 302 - - 645.5495ms 2022-12-29 14:32:15.198 -06:00 [INF] Request starting HTTP/2 GET https://localhost:44386/PatriotPayment - - 2022-12-29 14:32:15.444 -06:00 [INF] Executing endpoint '/PatriotPayment/Index' 2022-12-29 14:32:15.451 -06:00 [INF] Route matched with {page = "/PatriotPayment/Index", area = "", action = "", controller = ""}. Executing page /PatriotPayment/Index 2022-12-29 14:32:15.451 -06:00 [INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy 2022-12-29 14:32:15.724 -06:00 [INF] Executing an implicit handler method - ModelState is "Valid" 2022-12-29 14:32:15.724 -06:00 [INF] Executed an implicit handler method, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult. 2022-12-29 14:32:15.752 -06:00 [DBG] Added bundle 'Lepton.Global' to the page in 16.40 ms. 2022-12-29 14:32:15.754 -06:00 [INF] Authorization failed. These requirements were not met: PermissionRequirement: SettingManagement.Emailing 2022-12-29 14:32:15.754 -06:00 [INF] Authorization failed. These requirements were not met: PermissionRequirement: AbpIdentity.SettingManagement 2022-12-29 14:32:15.755 -06:00 [INF] Authorization failed. These requirements were not met: PermissionRequirement: LeptonThemeManagement.Settings 2022-12-29 14:32:15.755 -06:00 [INF] Authorization failed. These requirements were not met: PermissionRequirement: AbpAccount.SettingManagement 2022-12-29 14:32:15.872 -06:00 [DBG] Added bundle 'Lepton.Global' to the page in 112.99 ms. 2022-12-29 14:32:15.873 -06:00 [INF] Executed page /PatriotPayment/Index in 422.6334ms 2022-12-29 14:32:15.874 -06:00 [INF] Executed endpoint '/PatriotPayment/Index' 2022-12-29 14:32:15.874 -06:00 [INF] Request finished HTTP/2 GET https://localhost:44386/PatriotPayment - - - 200 - text/html;+charset=utf-8 675.7313ms The TenantRequests/CreateModal is the page that calls RedirectToPage("/PatriotPayment"). A shown, the ModelState is valid and eventually I get a 200 result but the page never shows. There is a set of Authorization failed errors that always show up that doesn't make any sense to me. There is no authorization on the page as it is a plain .cshtml file with no calls to backend processes.
The OnPost() method is simple:
public async Task<IActionResult> OnPostAsync()
{
try
{
await _tenantRequestsAppService.CreateAsync(TenantRequest);
return RedirectToPage("/PatriotPayment/Index");
}
catch(Exception ex)
{
Debug.WriteLine(ex);
return NoContent();
}
and the .cshtml of the page that is being called is also simple:
@page
@using PatriotTracker.Web.Pages.TenantRequests
@using PatriotTracker.Web.Menus
@using Microsoft.AspNetCore.Mvc.Localization
@using PatriotTracker.Localization
@using Volo.Abp.AspNetCore.Mvc.UI.Layout
@inject IHtmlLocalizer<PatriotTrackerResource> L
@inject IPageLayout PageLayout
@model PatriotTracker.Web.Pages.TenantRequests.SubmitPaymentModel
@{
}
<abp-card id="TenantRequestSubmitPayment">
<abp-card-body>
<h3>Payment for your subscription is $50.00 / month. If you agree with this purchase, click the "Purchase" button.</h3>
<form id="SubscribeForm" autocomplete="off" method="post">
<div class="col-12" style="align-content:center">
<abp-button button-type="Primary" type="submit" text="Purchase"/>
</div>
</form>
</abp-card-body>
</abp-card>
I've tried several different Redirect methods and they all seem to result in the same issue. Any assistance is appreciated.