Open Closed

Installation of Volo.Identityserver.Ui Fails #4521


User avatar
0
dan@dancaron.com created

I have installed templates several times and each time I choose to install the Identity Server UI module, it fails to install properly. The ABP Suite UI reports a successful installation, however the console reports an error and the resulting code in the solution does not compile.

  • ABP Framework version: v7.0.1
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace: Build started... Build failed. Use dotnet build to see the errors. Build started... Build failed. Use dotnet build to see the errors. C:\Users\Dan\source\repos\MyApp\aspnet-core\src\MyApp.EntityFrameworkCore\EntityFrameworkCore\MyAppDb ContextBase.cs(15,16): error CS0234: The type or namespace name 'IdentityServer' does not exist in the namespace 'Volo. Abp' (are you missing an assembly reference?) [C:\Users\Dan\source\repos\MyApp\aspnet-core\src\MyApp.Entity FrameworkCore\MyApp.EntityFrameworkCore.csproj] The build failed. Fix the build errors and run again.
  • Steps to reproduce the issue:" Install base template defined above and then install Identity Server UI module, look at the console for ABP Suite.

2 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Are you using the IdentityServer or OpenIddict as a auth server? because from 6.0.0 the app template uses OpenIddict by default.

  • User Avatar
    0
    dan@dancaron.com created

    Ahhhh I imagine that is the problem. Ok, I am new to ABP and I had assumed that the ABP Suite modules screen would only present options that are valid for my solution. I had not thought through IdentityServer vs. OpenIddict as I have not used either of them before. Thank you.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09