Is it possible I am missing appsettings?
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)?
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 solution
Volo.Abp.Account
is an open-source module, you don't need it, please remove those package
Volo.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;
});
}