Open Closed

Migrating from IdentityServer to OpenIddict, facing issues with auth-server Volo.Abp.Account.Pro.Public.Web package not found #9533


User avatar
0
SandeepPareek created
  • ABP Framework version: v8.1.2
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server)
  • Exception message and full stack trace:[07:00:36 FTL] UrvinFinance.AuthServer terminated unexpectedly! System.IO.FileNotFoundException: Could not load file or assembly 'Volo.Abp.Account.Pro.Public.Web, Version=8.1.2.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

File name: 'Volo.Abp.Account.Pro.Public.Web, Version=8.1.2.0, Culture=neutral, PublicKeyToken=null' at System.Reflection.RuntimeAssembly.InternalLoad(AssemblyName assemblyName, StackCrawlMark& stackMark, AssemblyLoadContext assemblyLoadContext, RuntimeAssembly requestingAssembly, Boolean throwOnFileNotFound) at System.Reflection.TypeNameParser.ResolveAssembly(String assemblyName) at System.Reflection.TypeNameParser.GetType(String typeName, ReadOnlySpan1 nestedTypeNames, String assemblyNameIfAny) at System.Reflection.TypeNameParser.Parse() at System.Reflection.TypeNameParser.GetTypeHelper(Char* pTypeName, RuntimeAssembly requestingAssembly, Boolean throwOnError, Boolean requireAssemblyQualifiedName) at System.Reflection.CustomAttribute._CreateCaObject(RuntimeModule pModule, RuntimeType type, IRuntimeMethodInfo pCtor, Byte** ppBlob, Byte* pEndBlob, Int32* pcNamedArgs) at System.Reflection.CustomAttribute.AddCustomAttributes(ListBuilder1& attributes, RuntimeModule decoratedModule, Int32 decoratedMetadataToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, ListBuilder1 derivedAttributes) at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeType type, RuntimeType caType, Boolean inherit) at System.Attribute.GetCustomAttributes(MemberInfo element, Boolean inherit) at Volo.Abp.Modularity.AbpModuleHelper.FindDependedModuleTypes(Type moduleType) at Volo.Abp.Modularity.AbpModuleHelper.AddModuleAndDependenciesRecursively(List1 moduleTypes, Type moduleType, ILogger logger, Int32 depth) at Volo.Abp.Modularity.AbpModuleHelper.AddModuleAndDependenciesRecursively(List1 moduleTypes, Type moduleType, ILogger logger, Int32 depth) at Volo.Abp.Modularity.AbpModuleHelper.FindAllModuleTypes(Type startupModuleType, ILogger logger) at Volo.Abp.Modularity.ModuleLoader.FillModules(List1 modules, IServiceCollection services, Type startupModuleType, PlugInSourceList plugInSources) at Volo.Abp.Modularity.ModuleLoader.GetDescriptors(IServiceCollection services, Type startupModuleType, PlugInSourceList plugInSources) at Volo.Abp.Modularity.ModuleLoader.LoadModules(IServiceCollection services, Type startupModuleType, PlugInSourceList plugInSources) at Volo.Abp.AbpApplicationBase.LoadModules(IServiceCollection services, AbpApplicationCreationOptions options) at Volo.Abp.AbpApplicationBase..ctor(Type startupModuleType, IServiceCollection services, Action1 optionsAction) at Volo.Abp.AbpApplicationWithExternalServiceProvider..ctor(Type startupModuleType, IServiceCollection services, Action1 optionsAction) at Volo.Abp.AbpApplicationFactory.Create(Type startupModuleType, IServiceCollection services, Action1 optionsAction) at Volo.Abp.AbpApplicationFactory.CreateAsync[TStartupModule](IServiceCollection services, Action1 optionsAction) at Microsoft.Extensions.DependencyInjection.ServiceCollectionApplicationExtensions.AddApplicationAsync[TStartupModule](IServiceCollection services, Action1 optionsAction) at Microsoft.Extensions.DependencyInjection.WebApplicationBuilderExtensions.AddApplicationAsync[TStartupModule](WebApplicationBuilder builder, Action1 optionsAction) at UrvinFinance.AuthServer.Program.Main(String[] args) in C:\Step2gen\UrvinTerminal\apps\auth-server\src\UrvinFinance.AuthServer\Program.cs:line 69

  • Steps to reproduce the issue: While migrating from IdentityServer to OpenIddict using the official ABP documentation (https://abp.io/docs/commercial/latest/migration-guides/openIddict-microservice), I'm facing an issue with the auth-server. All other microservices have been successfully built, run, and their data migrated without issues. However, the auth-server fails due to an internal reference to Volo.Abp.Account.Pro.Public.Web inside the AbpAccountPublicWebOpenIddictModule. This internal dependency seems to be tightly coupled, and I'm unsure how to resolve or override it during the migration process.

29 Answer(s)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent

    To resolve the error regarding the missing 'Volo.Abp.Account.Pro.Public.Web' assembly when migrating from IdentityServer to OpenIddict in your auth-server, you need to ensure that all IdentityServer-related package references are fully replaced with their OpenIddict counterparts, as described in the official ABP migration guide.

    Here are the key steps you should follow:

    1. Update Package References:

      • In your AuthServer .csproj file, remove any references to:
        <PackageReference Include="Volo.Abp.Account.Pro.Public.Web.IdentityServer" ... />
        <PackageReference Include="Volo.Abp.AspNetCore.Authentication.JwtBearer" ... />
        
      • Add the OpenIddict package:
        <PackageReference Include="Volo.Abp.Account.Pro.Public.Web.OpenIddict" Version="8.1.2" />
        
    2. Update Module Dependencies:

      • In your AuthServer module, replace:
        using Volo.Abp.IdentityServer;
        typeof(AbpAccountPublicWebIdentityServerModule)
        
        with:
        using Volo.Abp.OpenIddict;
        typeof(AbpAccountPublicWebOpenIddictModule)
        
    3. Clean and Rebuild:

      • Delete the bin and obj folders in your solution.
      • Run dotnet clean and dotnet build to ensure all old references are removed.
    4. Restore NuGet Packages:

      • Run dotnet restore to ensure all required packages are downloaded.
      • If you are using a private NuGet feed for ABP Commercial, make sure your nuget.config is correct and you are authenticated.
    5. Check for Transitive Dependencies:

      • If any other project in your solution still references the old IdentityServer-based package, it may cause this error. Ensure all projects are updated.
    6. Version Consistency:

      • Make sure all ABP Commercial packages are on the same version (8.1.2 in your case).

    If you follow these steps and the error persists, double-check that there are no lingering references to Volo.Abp.Account.Pro.Public.Web.IdentityServer or Volo.Abp.Account.Pro.Public.Web in any project or module dependency.

    For more details, see the official migration guide:

    • https://abp.io/docs/commercial/latest/migration-guides/openIddict-microservice

    This approach is based on the official ABP documentation and aligns with the recommended migration process.


    This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

  • User Avatar
    0
    SandeepPareek created

    I have already tried this. Still facing the same issue

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you share the full UrvinFinance.AuthServer.csproj file?

  • User Avatar
    0
    SandeepPareek created

    Here: <Project Sdk="Microsoft.NET.Sdk.Web">

    <Import Project="........\common.props" />

    <PropertyGroup> <TargetFramework>net8.0</TargetFramework> <UserSecretsId>647b1370-ff3f-467b-b192-b075f25a139c</UserSecretsId> <IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion> </PropertyGroup>

    <ItemGroup> <PackageReference Include="AspNet.Security.OAuth.Apple" Version="6.0.4" /> <PackageReference Include="Azure.Extensions.AspNetCore.Configuration.Secrets" Version="1.2.1" /> <PackageReference Include="Azure.Identity" Version="1.11.2" /> <PackageReference Include="Datadog.Trace.Bundle" Version="2.46.0" /> <PackageReference Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis" Version="6.0.2" /> <PackageReference Include="Microsoft.AspNetCore.Authentication.Google" Version="6.0.2" /> <PackageReference Include="Microsoft.AspNetCore.Authentication.MicrosoftAccount" Version="6.0.2" /> <PackageReference Include="Microsoft.AspNetCore.Authentication.Twitter" Version="6.0.2" /> </ItemGroup>

    <ItemGroup> <PackageReference Include="Volo.Abp.Account.Pro.Public.Web.OpenIddict" Version="8.1.2" /> <!--<PackageReference Include="Volo.Abp.Account.Pro.Public.Web" Version="8.1.2" />--> <PackageReference Include="Volo.Abp.Caching.StackExchangeRedis" Version="8.1.2" /> <PackageReference Include="Volo.Abp.EventBus.RabbitMQ" Version="8.1.2" /> <PackageReference Include="Volo.Abp.BackgroundJobs.RabbitMQ" Version="8.1.2" /> <PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton" Version="8.1.2" /> </ItemGroup>

    <ItemGroup> <ProjectReference Include="........\services\administration\src\UrvinFinance.AdministrationService.EntityFrameworkCore\UrvinFinance.AdministrationService.EntityFrameworkCore.csproj" /> <ProjectReference Include="........\services\identity\src\UrvinFinance.IdentityService.EntityFrameworkCore\UrvinFinance.IdentityService.EntityFrameworkCore.csproj" /> <ProjectReference Include="........\services\saas\src\UrvinFinance.SaasService.EntityFrameworkCore\UrvinFinance.SaasService.EntityFrameworkCore.csproj" /> <ProjectReference Include="........\shared\UrvinFinance.Shared.Hosting.AspNetCore\UrvinFinance.Shared.Hosting.AspNetCore.csproj" /> <ProjectReference Include="........\shared\UrvinFinance.Shared.Localization\UrvinFinance.Shared.Localization.csproj" /> <ProjectReference Include="........\services\identity\modules\Volo.Account.Pro\src\Volo.Abp.Account.Pro.Public.Application\Volo.Abp.Account.Pro.Public.Application.csproj" /> <ProjectReference Include="........\services\identity\modules\Volo.Account.Pro\src\Volo.Abp.Account.Pro.Public.HttpApi\Volo.Abp.Account.Pro.Public.HttpApi.csproj" /> <!--<ProjectReference Include="........\services\identity\modules\Volo.Account.Pro\src\Volo.Abp.Account.Pro.Public.Web.IdentityServer\Volo.Abp.Account.Pro.Public.Web.IdentityServer.csproj" />--> </ItemGroup> <ItemGroup> <Compile Remove="Logs*" /> <Content Remove="Logs*" /> <EmbeddedResource Remove="Logs*" /> <None Remove="Logs*" /> <None Remove="oldDockerfile" /> </ItemGroup>

    <ItemGroup> <None Include="entrypoint.sh" Link="entrypoint.sh" CopyToOutputDirectory="Always" /> </ItemGroup>

    </Project>

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Thanks. UrvinFinance.AuthServer.csproj seems no problem.

    Can you share the full code of UrvinFinance.AuthServer and its dependencies?

    I will download and build it.

    Thanks.

  • User Avatar
    0
    SandeepPareek created

    Thanks! Can I share the screen instead? It seems to be a small issue. Build succeeds but issue arrises in dotnet run.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can enable the debug logs and share it(logs.txt)

    https://abp.io/support/questions/8622/How-to-enable-Debug-logs-for-troubleshoot-problems

    Thanks.

  • User Avatar
    0
    SandeepPareek created

    STEP 1/2 — Building Dockerfile: [auth-server-live-update] Building Dockerfile for platform linux/amd64: FROM docker.io/urvininfra/tiltcache:latest WORKDIR /app COPY . /app RUN find -type f -print0 | xargs -0 dos2unix COPY ./entrypoint.sh /bin RUN chown -R 0:0 /app && chmod -R 775 /app USER 0 ENTRYPOINT ["/bin/entrypoint.sh"]

     Building image
     [1/6] FROM docker.io/urvininfra/tiltcache:latest@sha256:19dd030acd093e3fbc62f04f32abe4b0d77facbca86abbf53807a9668ebbfcc5
     [background] read source files 363.17MB [done: 13.215s]
     [6/6] RUN chown -R 0:0 /app && chmod -R 775 /app [cached]
     [5/6] COPY ./entrypoint.sh /bin [cached]
     [4/6] RUN find -type f -print0 | xargs -0 dos2unix [cached]
     [3/6] COPY . /app [cached]
     [2/6] WORKDIR /app [cached]
     exporting to image
    

    STEP 2/2 — Deploying time="2025-06-27T15:16:43+05:30" level=warning msg="C:\Step2gen\UrvinTerminal\etc\k8s\Tilt\docker-compose.yaml: the attribute version is obsolete, it will be ignored, please remove it to avoid potential confusion" Container auth-server Created Container auth-server Starting Container auth-server Started Container auth-server Waiting Importing keystore /certificate/keystore.p12 to /app/authserver.pfx... Entry for alias pc-75!005cadmin@pc-75-5b771bb7-ed97-4a0d-8924-c9b497ee5363 successfully imported. Import command completed: 1 entries successfully imported, 0 entries failed or cancelled Updating certificates in /etc/ssl/certs... Container auth-server Healthy

     Step 1 - 15.15s (Building Dockerfile: [auth-server-live-update])
     Step 2 - 1.19s (Deploying)
     DONE IN: 16.34s 
    

    0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... Processing triggers for ca-certificates-java (20230710~deb12u1) ... done. done. [09:46:44 INF] Starting UrvinFinance.AuthServer. [09:46:45 FTL] UrvinFinance.AuthServer terminated unexpectedly! System.IO.FileNotFoundException: Could not load file or assembly 'Volo.Abp.Account.Pro.Public.Web, Version=8.1.2.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

    File name: 'Volo.Abp.Account.Pro.Public.Web, Version=8.1.2.0, Culture=neutral, PublicKeyToken=null' at System.Reflection.RuntimeAssembly.InternalLoad(AssemblyName assemblyName, StackCrawlMark& stackMark, AssemblyLoadContext assemblyLoadContext, RuntimeAssembly requestingAssembly, Boolean throwOnFileNotFound) at System.Reflection.TypeNameParser.ResolveAssembly(String assemblyName) at System.Reflection.TypeNameParser.GetType(String typeName, ReadOnlySpan1 nestedTypeNames, String assemblyNameIfAny) at System.Reflection.TypeNameParser.Parse() at System.Reflection.TypeNameParser.GetTypeHelper(Char* pTypeName, RuntimeAssembly requestingAssembly, Boolean throwOnError, Boolean requireAssemblyQualifiedName) at System.Reflection.CustomAttribute._CreateCaObject(RuntimeModule pModule, RuntimeType type, IRuntimeMethodInfo pCtor, Byte** ppBlob, Byte* pEndBlob, Int32* pcNamedArgs) at System.Reflection.CustomAttribute.AddCustomAttributes(ListBuilder1& attributes, RuntimeModule decoratedModule, Int32 decoratedMetadataToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, ListBuilder1 derivedAttributes) at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeType type, RuntimeType caType, Boolean inherit) at System.Attribute.GetCustomAttributes(MemberInfo element, Boolean inherit) at Volo.Abp.Modularity.AbpModuleHelper.FindDependedModuleTypes(Type moduleType) at Volo.Abp.Modularity.AbpModuleHelper.AddModuleAndDependenciesRecursively(List1 moduleTypes, Type moduleType, ILogger logger, Int32 depth) at Volo.Abp.Modularity.AbpModuleHelper.AddModuleAndDependenciesRecursively(List1 moduleTypes, Type moduleType, ILogger logger, Int32 depth) at Volo.Abp.Modularity.AbpModuleHelper.FindAllModuleTypes(Type startupModuleType, ILogger logger) at Volo.Abp.Modularity.ModuleLoader.FillModules(List1 modules, IServiceCollection services, Type startupModuleType, PlugInSourceList plugInSources) at Volo.Abp.Modularity.ModuleLoader.GetDescriptors(IServiceCollection services, Type startupModuleType, PlugInSourceList plugInSources) at Volo.Abp.Modularity.ModuleLoader.LoadModules(IServiceCollection services, Type startupModuleType, PlugInSourceList plugInSources) at Volo.Abp.AbpApplicationBase.LoadModules(IServiceCollection services, AbpApplicationCreationOptions options) at Volo.Abp.AbpApplicationBase..ctor(Type startupModuleType, IServiceCollection services, Action1 optionsAction) at Volo.Abp.AbpApplicationWithExternalServiceProvider..ctor(Type startupModuleType, IServiceCollection services, Action1 optionsAction) at Volo.Abp.AbpApplicationFactory.Create(Type startupModuleType, IServiceCollection services, Action1 optionsAction) at Volo.Abp.AbpApplicationFactory.CreateAsync[TStartupModule](IServiceCollection services, Action1 optionsAction) at Microsoft.Extensions.DependencyInjection.ServiceCollectionApplicationExtensions.AddApplicationAsync[TStartupModule](IServiceCollection services, Action1 optionsAction) at Microsoft.Extensions.DependencyInjection.WebApplicationBuilderExtensions.AddApplicationAsync[TStartupModule](WebApplicationBuilder builder, Action1 optionsAction) at UrvinFinance.AuthServer.Program.Main(String[] args) in C:\Step2gen\UrvinTerminal\apps\auth-server\src\UrvinFinance.AuthServer\Program.cs:line 79 █

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you run it outside Docker?

    You can check the image, maybe the DLL files are not copied into it.

    See https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/docker/building-net-docker-images?view=aspnetcore-9.0#the-dockerfile

    Thanks.

  • User Avatar
    0
    SandeepPareek created

    Here are the logs. I ran command dotnet run from powershell

    [12:30:56 INF] Starting UrvinFinance.AuthServer.
    [12:30:57 FTL] UrvinFinance.AuthServer terminated unexpectedly!
    System.IO.FileNotFoundException: Could not load file or assembly 'Volo.Abp.Account.Pro.Public.Application.Contracts, Version=8.1.2.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
    File name: 'Volo.Abp.Account.Pro.Public.Application.Contracts, Version=8.1.2.0, Culture=neutral, PublicKeyToken=null'
       at System.Reflection.RuntimeAssembly.InternalLoad(AssemblyName assemblyName, StackCrawlMark& stackMark, AssemblyLoadContext assemblyLoadContext, RuntimeAssembly requestingAssembly, Boolean throwOnFileNotFound)
       at System.Reflection.TypeNameParser.ResolveAssembly(String assemblyName)
       at System.Reflection.TypeNameParser.GetType(String typeName, ReadOnlySpan`1 nestedTypeNames, String assemblyNameIfAny)
       at System.Reflection.TypeNameParser.Parse()
       at System.Reflection.TypeNameParser.GetTypeHelper(Char* pTypeName, RuntimeAssembly requestingAssembly, Boolean throwOnError, Boolean requireAssemblyQualifiedName)
       at System.Reflection.CustomAttribute._CreateCaObject(RuntimeModule pModule, RuntimeType type, IRuntimeMethodInfo pCtor, Byte** ppBlob, Byte* pEndBlob, Int32* pcNamedArgs)
       at System.Reflection.CustomAttribute.AddCustomAttributes(ListBuilder`1& attributes, RuntimeModule decoratedModule, Int32 decoratedMetadataToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, ListBuilder`1 derivedAttributes)
       at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeType type, RuntimeType caType, Boolean inherit)
       at System.Attribute.GetCustomAttributes(MemberInfo element, Boolean inherit)
       at Volo.Abp.Modularity.AbpModuleHelper.FindDependedModuleTypes(Type moduleType)
       at Volo.Abp.Modularity.AbpModuleHelper.AddModuleAndDependenciesRecursively(List`1 moduleTypes, Type moduleType, ILogger logger, Int32 depth)
       at Volo.Abp.Modularity.AbpModuleHelper.AddModuleAndDependenciesRecursively(List`1 moduleTypes, Type moduleType, ILogger logger, Int32 depth)
       at Volo.Abp.Modularity.AbpModuleHelper.AddModuleAndDependenciesRecursively(List`1 moduleTypes, Type moduleType, ILogger logger, Int32 depth)
       at Volo.Abp.Modularity.AbpModuleHelper.FindAllModuleTypes(Type startupModuleType, ILogger logger)
       at Volo.Abp.Modularity.ModuleLoader.FillModules(List`1 modules, IServiceCollection services, Type startupModuleType, PlugInSourceList plugInSources)
       at Volo.Abp.Modularity.ModuleLoader.GetDescriptors(IServiceCollection services, Type startupModuleType, PlugInSourceList plugInSources)
       at Volo.Abp.Modularity.ModuleLoader.LoadModules(IServiceCollection services, Type startupModuleType, PlugInSourceList plugInSources)
       at Volo.Abp.AbpApplicationBase.LoadModules(IServiceCollection services, AbpApplicationCreationOptions options)
       at Volo.Abp.AbpApplicationBase..ctor(Type startupModuleType, IServiceCollection services, Action`1 optionsAction)
       at Volo.Abp.AbpApplicationWithExternalServiceProvider..ctor(Type startupModuleType, IServiceCollection services, Action`1 optionsAction)
       at Volo.Abp.AbpApplicationFactory.Create(Type startupModuleType, IServiceCollection services, Action`1 optionsAction)
       at Volo.Abp.AbpApplicationFactory.CreateAsync[TStartupModule](IServiceCollection services, Action`1 optionsAction)
       at Microsoft.Extensions.DependencyInjection.ServiceCollectionApplicationExtensions.AddApplicationAsync[TStartupModule](IServiceCollection services, Action`1 optionsAction)
       at Microsoft.Extensions.DependencyInjection.WebApplicationBuilderExtensions.AddApplicationAsync[TStartupModule](WebApplicationBuilder builder, Action`1 optionsAction)
       at UrvinFinance.AuthServer.Program.Main(String[] args) in C:\Step2gen\UrvinTerminal\apps\auth-server\src\UrvinFinance.AuthServer\Program.cs:line 79
    
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you zip your UrvinFinance.AuthServer's bin folder and share it?

    liming.ma@volosoft.com

    Thanks.

  • User Avatar
    0
    SandeepPareek created

    Sent! Please check.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Your UrvinFinance.IdentityService.Application.Contracts/1.0.0 project uses the wrongdependencyy

  • User Avatar
    0
    SandeepPareek created

    Hi,

    Everything was working fine prior to the migration to OpenIddict.

    The issue starts to come when UrvinFinanceAuthServerModule started dependency on AbpAccountPublicWebOpenIddictModule which internally depends on AbpAccountPublicWebModule, which is now causing problems on dotnet run.

    Please let me know if there’s a recommended way to handle or override this dependency in the context of OpenIddict.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Are you using the source code reference of account and openiddict modules?

    Can you share your project source code?

    Thanks.

  • User Avatar
    0
    SandeepPareek created

    Yes, we’re using source code references for the Account modules, and previously, IdentityServer was also used as a source code reference. However, during the migration, I switched to using the package reference for the OpenIddict module (version 8.1.2, same as the rest).

    Could this mismatch between source code reference and package reference be causing the issue?

    I can't share the source code, but I'm happy to connect tomorrow to walk through the setup. Let me know if that works for you.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Not all your projects are using the source code references. Please check it.

    Can you share all csproj files in your whole solution?

  • User Avatar
    0
    SandeepPareek created

    Hi

    We have multiple microservices referencing this module, and each microservice’s DDD layer also has its own .csproj files.

    Given the complexity of the setup, I believe it would be most effective if we could connect at your preferred time, so I can walk you through the structure and you can guide me accordingly.

    Please let me know what time works best for you.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you open your solution in VS Code and search for the Volo.Abp.Identity and Volo.Abp.Account keywords in all *.csproj files globally?

    Because your projects do not use the package reference for the Account and Identity modules.

  • User Avatar
    0
    SandeepPareek created

    https://abp.io/support/questions/4242/The-AuthServer-project-is-unable-to-load-the-assembly-VoloAbpAccountProPublicWeb

    According to this ticket, we need to replace the PackageReference with a ProjectReference. I’ve downloaded the Volo.Abp.Account.Pro module source code, but it's currently not building. Could you help identify what might be causing the issue? Once the module builds successfully, I’ll proceed with replacing the package reference.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    I’ve downloaded the Volo.Abp.Account.Pro module source code, but it's currently not building. Could you help identify what might be causing the issue?

    Please share the Volo.Abp.Account.Pro module source code.

    And Can you open your solution in VS Code and search for the Volo.Abp.Identity and Volo.Abp.Account keywords in all .csproj files globally?

  • User Avatar
    0
    SandeepPareek created

    Shared Volo.Abp.Account.Pro module source code via WeTransfer

    Also, Shared all the Volo.Abp.Account and Volo.Abp.Identity references directly on your mail liming.ma@volosoft.com

    Please check

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Your solution uses bothProjectReference and PackageReference at the same time. Please change it.

    For Account.Pro source code:

    Please replace Version="8.1.2" with VersionOverride="8.1.2" in all csproj files.

  • User Avatar
    0
    SandeepPareek created

    Thanks! The project is now building and running correctly. But I am unable to generate token from auth-server on login. Potential issue can be OpenIddictApplications table not being seeded correctly while migration. Can you help finding the issue?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Do you have OpenIddictDataSeedContributor in your solution?

    If not, Please create a new project and copy the OpenIddictDataSeedContributor file.

    Thanks.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on July 11, 2025, 11:35