Open Closed

Unable to add Chat module to Blazor project v7.4.2 #6320


User avatar
0
olitrepanier created
  • ABP Framework version: v7.4.2
  • UI Type: Blazor WASM
  • Database System: EF Core SQL Server
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace: No particular exceptions. The addition of the Chat module did not work.
  • Steps to reproduce the issue:
  1. Run abp suite
  2. In the modules page, click add as package on the Chat module.
  3. Wait for the process to end (it took a very long time)
  4. Process completes successfully

Observe that the package references are not added to any .csproj

I tried to add all the references manually in all the csproj that required Volo.Chat which fixed most of my issues:

There are three projects that are problematic since they are also in .net standard?

When I look at the dependencies of these projects, I see this:

Any idea what went wrong or what I can do to fix this?

Thank you,

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

1 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    I could not reproduce the problem.

    Here are the steps for manual installation:

    • Install Volo.Chat.Domain to Your Domain project
    • Install Volo.Chat.Domain.Shared to Your Domain.Shared project
    • Install Volo.Chat.EntityFrameworkCore to Your EntityFrameworkCore project
    • Install Volo.Chat.Application to Your Application project
    • Install Volo.Chat.Application.Contracts to Your Application.Contracts project
    • Install Volo.Chat.HttpApi to Your HttpApi project
    • Install Volo.Chat.HttpApi.Client to Your HttpApi.Client project
    • Install Volo.Chat.Blazor and Volo.Chat.Blazor.WebAssembly to Your Blazor project
    • Install Volo.Chat.SignalR to Your HttpApi.Host project
    • Add module dependencies to each project. for example: [DependsOn(typeof(ChatDomainModule))]
    • Run abp bundle for Blazor project

    Open your DbContext

    protected override void OnModelCreating(ModelBuilder builder)
    {
       builder.ConfigureChat();
    }
    

    Add and apply a new migration file

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
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.8.0-preview. Updated on September 23, 2026, 09:57
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.