Activities of "viktor"

Hi, Please share your ABP Studio logs with this error, as I can not see such during my Graph Build.

I created new Solution [DemoSolution3] and I did sceenshots of all steps I made during creation. I sent mail with links to solution and work document to support mail box.

Hi, EngincanV Sorry, but I can not understand what do you mean by "the project that you shared is suppose to use central package management" I just did all steps as described in my previous comment https://abp.io/support/questions/9023/Can-not-add-Entity-to-Main-solution#answer-3a18e527-ce86-9cfe-f7fb-9d08e70d2bae

I got build error as described in step 6 so did zip full folder and shared it with you. What do you mean by "please fix the central package management problem"? I am not using any "central package management" just ABP Studio.

Hi, EngincanV Sorry for pushing again.. any news?

Hi, EngincanV Sorry for pushing.. any news?

Hi, EngincanV We are blocked with our solution due to this issue. Any updates on this?

Hi, EngincanV I did build. See my Step 4. Graph build. OK I can not add new Entity to [DemoSolution2] using ABP Suite. After adding it gives me error and I can not build using graph due to errors in module. So you did not answer my quition: why my module [NewModule] is impacted if I am adding entity into [DemoSolution2]?

I will share solution soon.

Hi, EngincanV Please find below steps I did with new solution and got again same error:

  1. Create new [DemoSolution2] - Single layered.

  2. Add [NewModule] - DDD Module

  3. Import and Install [NewModule] into [DemoSolution2]

  4. Graph build. OK

  5. Open APB Suite. Select [DemoSolution2]

  6. Add new Entity [Promotion] with one property [Title]. Click "Save and generate" -> Failed. Error below.

My question: Why some program code about [Promotion] are added into [NewModule]? I am trying to add it into [DemoSolution2], so why cli trying to add something into module?

error: `16:53:15.518 Information Starting task execution: "Building: DemoSolution2" 16:53:17.290 Information CLI command executed. Command: "dotnet build -v:q /property:WarningLevel=0 /clp:ErrorsOnly /graphBuild" Working directory: "C:\Temp\DemoSolution2" CommandResult { ExitCode: 1, IsSuccess: False, StartTime: 03/26/2025 16:53:15 +02:00, ExitTime: 03/26/2025 16:53:17 +02:00, RunTime: 00:00:01.7670903 } 16:53:17.290 Information Failed task execution: "Building: DemoSolution2" 16:53:17.290 Information ERROR: "An error has occured!" 16:53:17.290 Information ERROR DETAILS: "Dotnet build failed for the project "DemoSolution2". Details: C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\Controllers\Promotions\PromotionController.Extended.cs(17,65): error CS0246: The type or namespace name 'IPromotionsAppService' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\NewModule.HttpApi.csproj] C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\Controllers\Promotions\PromotionController.Extended.cs(19,36): error CS0246: The type or namespace name 'IPromotionsAppService' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\NewModule.HttpApi.csproj] C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\Controllers\Promotions\PromotionController.cs(28,72): error CS0246: The type or namespace name 'GetPromotionsInput' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\NewModule.HttpApi.csproj] C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\Controllers\Promotions\PromotionController.cs(28,44): error CS0246: The type or namespace name 'PromotionDto' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\NewModule.HttpApi.csproj] C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\Controllers\Promotions\PromotionController.cs(35,29): error CS0246: The type or namespace name 'PromotionDto' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\NewModule.HttpApi.csproj] C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\Controllers\Promotions\PromotionController.cs(41,55): error CS0246: The type or namespace name 'PromotionCreateDto' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\NewModule.HttpApi.csproj] C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\Controllers\Promotions\PromotionController.cs(41,29): error CS0246: The type or namespace name 'PromotionDto' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\NewModule.HttpApi.csproj] C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\Controllers\Promotions\PromotionController.cs(48,64): error CS0246: The type or namespace name 'PromotionUpdateDto' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\NewModule.HttpApi.csproj] C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\Controllers\Promotions\PromotionController.cs(48,29): error CS0246: The type or namespace name 'PromotionDto' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\NewModule.HttpApi.csproj] C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\Controllers\Promotions\PromotionController.cs(20,19): error CS0246: The type or namespace name 'IPromotionsAppService' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\NewModule.HttpApi.csproj] C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\Controllers\Promotions\PromotionController.cs(22,40): error CS0246: The type or namespace name 'IPromotionsAppService' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\NewModule.HttpApi.csproj]

Build FAILED. 0 Warning(s) 11 Error(s)

Time Elapsed 00:00:01.55

Workload updates are available. Run dotnet workload list for more information." 16:53:17.290 Information Exception of type 'Volo.Abp.Studio.AbpStudioException' was thrown. 16:53:17.290 Information Code:AbpStudio:DotnetBuildFailed 16:53:17.290 Information Details: 16:53:17.291 Information ---------- Exception Data ---------- ProjectName = DemoSolution2 Details = C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\Controllers\Promotions\PromotionController.Extended.cs(17,65): error CS0246: The type or namespace name 'IPromotionsAppService' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\NewModule.HttpApi.csproj] C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\Controllers\Promotions\PromotionController.Extended.cs(19,36): error CS0246: The type or namespace name 'IPromotionsAppService' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\NewModule.HttpApi.csproj] C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\Controllers\Promotions\PromotionController.cs(28,72): error CS0246: The type or namespace name 'GetPromotionsInput' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\NewModule.HttpApi.csproj] C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\Controllers\Promotions\PromotionController.cs(28,44): error CS0246: The type or namespace name 'PromotionDto' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\NewModule.HttpApi.csproj] C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\Controllers\Promotions\PromotionController.cs(35,29): error CS0246: The type or namespace name 'PromotionDto' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\NewModule.HttpApi.csproj] C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\Controllers\Promotions\PromotionController.cs(41,55): error CS0246: The type or namespace name 'PromotionCreateDto' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\NewModule.HttpApi.csproj] C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\Controllers\Promotions\PromotionController.cs(41,29): error CS0246: The type or namespace name 'PromotionDto' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\NewModule.HttpApi.csproj] C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\Controllers\Promotions\PromotionController.cs(48,64): error CS0246: The type or namespace name 'PromotionUpdateDto' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\NewModule.HttpApi.csproj] C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\Controllers\Promotions\PromotionController.cs(48,29): error CS0246: The type or namespace name 'PromotionDto' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\NewModule.HttpApi.csproj] C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\Controllers\Promotions\PromotionController.cs(20,19): error CS0246: The type or namespace name 'IPromotionsAppService' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\NewModule.HttpApi.csproj] C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\Controllers\Promotions\PromotionController.cs(22,40): error CS0246: The type or namespace name 'IPromotionsAppService' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\DemoSolution2\newmodule\src\NewModule.HttpApi\NewModule.HttpApi.csproj]

Build FAILED. 0 Warning(s) 11 Error(s)

Time Elapsed 00:00:01.55

Workload updates are available. Run dotnet workload list for more information.`

Hi, EngincanV I can not understand your answers... I will try ask different way. I am using only ABP Suite to make all Entities. I never write any code as all parts are generated automatically, and I can create all needed Entities with properties using ABP Suite only. I am not dealing with Visual Studio as it was not part of my duties :)

As I mentioned I did Step 6 in ABP Suite. I created new Entity with properties. And then I want to run dotnet ef database update to have tables in database, but I have no migration file generated. So I can not create tables. So please provide steps I must do after my Step 6.

Hi, EngincanV So I need some example how to build db migration file for entities inside Modules. May you show some example code here. For Example I want to add new entity [Product] with properties [Title], [Price]. So I migration files will be look like?

Hi, EngincanV I created new Entity [Promotion] in [DemoSolution] and NOT in [FirstModule]. Issus is during adding new Entity to [DemoSolution].

Showing 1 to 10 of 49 entries
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