Open Closed

[ABP Suite] Can't create Entities using ABP Suite. Getting build error. #6878


User avatar
0
viktor created

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/
Check the samples to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index
The exact solution to your question may have been answered before, and please first use the search on the homepage.
Provide us with the following info:

  • ABP Framework version: v8.0.4

  • UI Type: Angular

  • Database System: EF Core (SQLite)

  • Tiered (for MVC) or Auth Server Separated (for Angular): no

  • Exception message and full stack trace:

  • Steps to reproduce the issue:

  1. Run abp suite

  2. create new project (single-tier)
    Update all ABP packages.

  3. Build
    Error:
    build_error.PNG

Can not build due to wrong versions of packages:

<br>
FIXed by changes to Version="8.0.5"
Build. Ok

  1. run dotnet run --migrate-database
    Error:
    error NU1605: Warning As Error: Detected package downgrade: Volo.Abp.Caching fro
    m 8.0.5 to 8.0.4. Reference the package directly from the project to select a different version.
    Fixed by changeing version to

run dotnet run --migrate-database. Ok.

  1. Using ABP Suite create new Entity with n properties
    CreateEntity.PNG
    Error:
    Error occurred on DB migration step! Make sure the project is compiled and working. Command output: Build started... Build failed. Use dotnet build to see the errors.

Severity Code Description Project File Line Suppression State
Error CS0246 The type or namespace name 'TestProjectAppService' could not be found (are you missing a using directive or an assembly reference?)

build_error_2.PNG


3 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Member

    Hello ,
    I tried it at my end, and it functions flawlessly. Would you kindly check once?
    Thank you.

  • User Avatar
    0
    viktor created

    I did it 3 times. I did 3 new projects and it is same issues. We can make/schedule Teams meeting and I can show you.

  • User Avatar
    0
    viktor created

    I found solution myself. It was not updated abp suite to the lates version.
    It strange no any warninig where provided during creation of Project. I think it shoud be adjusted on your side because it looks there are dependencies.

    This question could be closed.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 25, 2025, 11:10