- ABP Framework version: v8.2.0
- UI Type: Angular
- Database System: EF Core (SQL Server)
Migrated solution from net5.0 to net8.0 and cannot get this to work.
Lots of errors of this type:
CS0433 The type 'AccountUrlNames' exists in both 'Volo.Abp.Account.Application, Version=8.2.2.0, Culture=neutral, PublicKeyToken=null' and 'Volo.Abp.Account.Pro.Public.Application, Version=8.2.2.0, Culture=neutral, PublicKeyToken=null' PartnerPortal.HttpApi.Host
Is it possible to schedule a support call on thursday 29th of august?
Kind regards
14 Answer(s)
-
0
CS0433 The type 'AccountUrlNames' exists in both 'Volo.Abp.Account.Application, Version=8.2.2.0, Culture=neutral, PublicKeyToken=null' and 'Volo.Abp.Account.Pro.Public.Application, Version=8.2.2.0, Culture=neutral, PublicKeyToken=null' PartnerPortal.HttpApi.Host
Please remove
Volo.Abp.Account.Application
package from your solutionVolo.Abp.Account
is an open-source module, you don't need it, please remove those packageVolo.Abp.Account.Pro
is a pro module for commercial. -
0
CS0433 The type 'AccountUrlNames' exists in both 'Volo.Abp.Account.Application, Version=8.2.2.0, Culture=neutral, PublicKeyToken=null' and 'Volo.Abp.Account.Pro.Public.Application, Version=8.2.2.0, Culture=neutral, PublicKeyToken=null' PartnerPortal.HttpApi.Host
Please remove
Volo.Abp.Account.Application
package from your solutionVolo.Abp.Account
is an open-source module, you don't need it, please remove those packageVolo.Abp.Account.Pro
is a pro module for commercial.**Error (active) CS0433 The type 'GetIdentityUsersInput' exists in both 'Volo.Abp.Identity.Application.Contracts, Version=8.2.2.0, Culture=neutral, PublicKeyToken=null' and 'Volo.Abp.Identity.Pro.Application.Contracts, Version=8.2.2.0, Culture=neutral, PublicKeyToken=null' PartnerPortal.HttpApi.Client.ConsoleTestApp **
-> and I cannot find Volo.Abp.Identity.Application.Contracts in my NuGet Packages
Error (active) CS1061 'AuthenticationBuilder' does not contain a definition for 'WithDynamicOptions' and no accessible extension method 'WithDynamicOptions' accepting a first argument of type 'AuthenticationBuilder' could be found (are you missing a using directive or an assembly reference?) PartnerPortal.HttpApi.Host
Code: context.Services.AddAuthentication() .AddGoogle(GoogleDefaults.AuthenticationScheme, _ => { }) .WithDynamicOptions<GoogleOptions, GoogleHandler>( GoogleDefaults.AuthenticationScheme, options => { options.WithProperty(x => x.ClientId); options.WithProperty(x => x.ClientSecret, isSecret: true); } )
-> WithDynamicOptions does not seem to exist
Error (active) CS1061 'AbpAccountOptions' does not contain a definition for 'ImpersonationTenantPermission' and no accessible extension method 'ImpersonationTenantPermission' accepting a first argument of type 'AbpAccountOptions' could be found (are you missing a using directive or an assembly reference?) PartnerPortal.HttpApi.Host
-> None of the options here exist
private void ConfigureImpersonation(ServiceConfigurationContext context, IConfiguration configuration) { context.Services.Configure<AbpAccountOptions>(options => { options.TenantAdminUserName = "admin"; options.ImpersonationTenantPermission = SaasHostPermissions.Tenants.Impersonation; options.ImpersonationUserPermission = IdentityPermissions.Users.Impersonation; }); }
-
0
Hi,
Please remove all account module packages from your solution. (Volo.Abp.Account.xxxx) then install account pro module to your solution (Volo.Abp.Account.Pro.xxxx)
-
0
I have managed to get my migrated solution running. After some research I found a support question from some time ago which mentioned that the commercial nuget source search is no longer maintained, which made solving my issues quite a bit harder.
Anyways, I got it working. I am however missing the AbpApiDefinition endpoint, can you elaborate on how to get it (back)?
-
0
After some research I found a support question from some time ago which mentioned that the commercial nuget source search is no longer maintained
Where have you seen it? It is still under maintenance
I am however missing the AbpApiDefinition endpoint, can you elaborate on how to get it (back)?
you can install the
Volo.Abp.AspNetCore.Mvc
package and[DependsOn( ..... typeof(AbpAspNetCoreMvcModule), ..... )] public class YourModule : AbpModule
-
0
-
0
It was on an Abp support question: https://abp.io/support/questions/5182/Nuget-feed-broken#answer-3a0b9d8e-3810-0990-b41d-0c1ba9052a25
oh, yes , that's true
-
0
-
0
Hi,
Move
AbpAspNetCoreMvcModule
toHttpApi.Host
project.then open swagger pgae to check it.
-
0
-
0
Hi,
it's very strange.
Is it possible you to share a minimal reproducible project with me? i will check it.
my email is shiwei.liang@volosoft.com
-
0
Is it possible I am missing appsettings?
-
0
I've found out there is a MyServiceConvention : AbpServiceConvention class
In this class, there is an override for "ApplyForControllers" where the AbpApiDefinitionController was removed.
I don't know for what reason that would be. But commenting out that code, i get the definition.
-
0
okay