The Pro packages all indicate that the versions listed are the latest stable versions and there are no upgrades to them. Please advise.
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.
Yes I can successfully run the modified program you sent me in debug mode. However, when I compile it in release mode and deploy it to my iPhone it crashes like before.
What version of Xcode are you running? Are you building on a Mac?
Yes, running the app on my iPhone in debug mode is when it happens.
More information on the situation:
By default the solution includes the xxx.Application.Contracts, xxx.Domain.Shared and xxx.HttpApi.Client projects as part of the solution. The only way I can even get the project to successfully compile is to not include these projects in the compilation process and instead include their .dll's. By including the .dll's it appears that all of the references to the Volo.Abp HttpApi related elements are not compiled into the executable.
If I begin including references to the Volo.Abp dll's, I get a cascading affect of needing more and more of the Volo .dll's and including some of them results in other errors like ambiguous calls to various methods.
Do you have any suggestions for how to configure the MAUI app to build either with or without including the required projects as part of the build process? This has been going on for 9 months.
Thank you for the links. I am finally able to get my real project to compile. I can create an .ipa to deploy to the Apple store, however the app crashes immediately after the splash screen. This is happening in both the release and debug versions. In the debug version it is failing when it tries to instantiate the webauthenticatorbrowser because it can't load the Volo.Abp.Identity.Pro.HttpCient
There were a couple other Volo packages that it said it couldn't load before this one and I was able to include those packages into the MAUI project. However, the Volo.Abp.Identity.Pro modules don't show up as options to load in the MAUI project. Any help is appreciated.
I just created a new solution using ABP.IO version 7.1.1 that includes a MAUI project and tried to build the iOS version using Visual Studio Mac 17.5.4. I did not make any changes to the solution after creating it with SUITE 7.1.1. When I attempt build the app to run the new solution on my iPhone I get the same error as I get on my old app, except that the error says :
/usr/local/share/dotnet/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(5,5): Error NETSDK1047: Assets file '/Users/davidrutter/Projects/BaseSolution/aspnet-core/src/BaseSolution.Maui/obj/project.assets.json' doesn't have a target for 'net7.0-ios/ios-arm64'. Ensure that restore has run and that you have included 'net7.0-ios' in the TargetFrameworks for your project. You may also need to include 'ios-arm64' in your project's RuntimeIdentifiers. (NETSDK1047) (BaseSolution.Maui)
This is the pertinent section from the .csproj file:
<PropertyGroup>
<TargetFrameworks>net7.0-android;net7.0-ios;net7.0-maccatalyst</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net7.0-windows10.0.19041.0</TargetFrameworks>
<!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
<!-- <TargetFrameworks>$(TargetFrameworks);net7.0-tizen</TargetFrameworks> -->
<Nullable>enable</Nullable>
<OutputType>Exe</OutputType>
<RootNamespace>BaseSolution.Maui</RootNamespace>
<UseMaui>true</UseMaui>
<SingleProject>true</SingleProject>
<ImplicitUsings>enable</ImplicitUsings>
<!-- Display name -->
<ApplicationTitle>BaseSolution.Maui</ApplicationTitle>
<!-- App Identifier -->
<ApplicationId>com.companyname.basesolution.maui</ApplicationId>
<ApplicationIdGuid>e5c5d420-6b4b-4a4b-9ee5-cc98e5ea2e97</ApplicationIdGuid>
<!-- Versions -->
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
<ApplicationVersion>1</ApplicationVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">11.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">13.1</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion>
</PropertyGroup>
I have to be able to build a MAUI project for iOS.
I've tried several times with the same result. I have 6 solutions that were created months ago and 2 of them fail to load. Both are projects that include a MAUI project in them and these two projects are the ones that are failing to build the iOS versions that I mentioned in a separate post.