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:

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 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?)


3 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team 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.

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