-
ABP Framework version: v9.0.0
-
UI Type: MVC
-
Database System: EF Core SQL Server
-
Tiered (for MVC) or Auth Server Separated (for Angular): yes/no
-
Build failed. Check the solution!:
Hello Support,
Pleas See images below :
I have module HR with abp suite
When i press on the button save and generate gave me this error below :
then i when press yes gave me this error below :
Note that there are no errors within the solution:
and this log in abp suite
2025-03-02 20:16:31.820 +03:00 [INF] Building the solution: dotnet build "C:\Mywork\ManarahTech\NeuErp\modules\HR" 2025-03-02 20:16:33.727 +03:00 [INF] Build succeeded: False 2025-03-02 20:16:33.727 +03:00 [INF] Executing ObjectResult, writing value of type 'System.Boolean'. 2025-03-02 20:16:33.728 +03:00 [INF] Executed action Volo.Abp.Suite.Controllers.AbpSuiteController.BuildSolutionAsync (Volo.Abp.Suite) in 1912.1972ms 2025-03-02 20:16:33.728 +03:00 [INF] Executed endpoint 'Volo.Abp.Suite.Controllers.AbpSuiteController.BuildSolutionAsync (Volo.Abp.Suite)' 2025-03-02 20:16:33.728 +03:00 [INF] Request finished HTTP/1.1 POST http://localhost:3000/api/abpSuite/solutions/32b11fe4-eba5-4810-a1f2-446cd2be4b94/build - 200 null application/json; charset=utf-8 1912.8012ms 2025-03-02 20:19:43.785 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:3000/api/abpSuite/solutions/32b11fe4-eba5-4810-a1f2-446cd2be4b94/is-built - application/json null 2025-03-02 20:19:43.786 +03:00 [INF] Executing endpoint 'Volo.Abp.Suite.Controllers.AbpSuiteController.IsSolutionBuiltAsync (Volo.Abp.Suite)' 2025-03-02 20:19:43.786 +03:00 [INF] Route matched with {action = "IsSolutionBuilt", controller = "AbpSuite", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task
1[System.Boolean] IsSolutionBuiltAsync(System.Guid) on controller Volo.Abp.Suite.Controllers.AbpSuiteController (Volo.Abp.Suite).
2025-03-02 20:19:43.823 +03:00 [INF] Executing ObjectResult, writing value of type 'System.Boolean'.
2025-03-02 20:19:43.823 +03:00 [INF] Executed action Volo.Abp.Suite.Controllers.AbpSuiteController.IsSolutionBuiltAsync (Volo.Abp.Suite) in 37.7634ms
2025-03-02 20:19:43.823 +03:00 [INF] Executed endpoint 'Volo.Abp.Suite.Controllers.AbpSuiteController.IsSolutionBuiltAsync (Volo.Abp.Suite)'
2025-03-02 20:19:43.823 +03:00 [INF] Request finished HTTP/1.1 GET http://localhost:3000/api/abpSuite/solutions/32b11fe4-eba5-4810-a1f2-446cd2be4b94/is-built - 200 null application/json; charset=utf-8 38.1589ms
2025-03-02 20:19:46.497 +03:00 [INF] Request starting HTTP/1.1 POST http://localhost:3000/api/abpSuite/solutions/32b11fe4-eba5-4810-a1f2-446cd2be4b94/build - application/json 0
2025-03-02 20:19:46.497 +03:00 [INF] Executing endpoint 'Volo.Abp.Suite.Controllers.AbpSuiteController.BuildSolutionAsync (Volo.Abp.Suite)'
2025-03-02 20:19:46.497 +03:00 [INF] Route matched with {action = "BuildSolution", controller = "AbpSuite", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task1[System.Boolean] BuildSolutionAsync(System.Guid) on controller Volo.Abp.Suite.Controllers.AbpSuiteController (Volo.Abp.Suite). 2025-03-02 20:19:46.501 +03:00 [INF] Building the solution: dotnet build "C:\Mywork\ManarahTech\NeuErp\modules\HR" 2025-03-02 20:19:48.090 +03:00 [INF] Build succeeded: False 2025-03-02 20:19:48.091 +03:00 [INF] Executing ObjectResult, writing value of type 'System.Boolean'. 2025-03-02 20:19:48.091 +03:00 [INF] Executed action Volo.Abp.Suite.Controllers.AbpSuiteController.BuildSolutionAsync (Volo.Abp.Suite) in 1593.2351ms 2025-03-02 20:19:48.091 +03:00 [INF] Executed endpoint 'Volo.Abp.Suite.Controllers.AbpSuiteController.BuildSolutionAsync (Volo.Abp.Suite)' 2025-03-02 20:19:48.091 +03:00 [INF] Request finished HTTP/1.1 POST http://localhost:3000/api/abpSuite/solutions/32b11fe4-eba5-4810-a1f2-446cd2be4b94/build - 200 null application/json; charset=utf-8 1593.5258ms 2025-03-02 20:19:53.196 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:3000/api/abpSuite/open-logs-folder - application/json null 2025-03-02 20:19:53.196 +03:00 [INF] Executing endpoint 'Volo.Abp.Suite.Controllers.AbpSuiteController.OpenLogsFolder (Volo.Abp.Suite)' 2025-03-02 20:19:53.196 +03:00 [INF] Route matched with {action = "OpenLogsFolder", controller = "AbpSuite", area = "", page = ""}. Executing controller action with signature Void OpenLogsFolder() on controller Volo.Abp.Suite.Controllers.AbpSuiteController (Volo.Abp.Suite). 2025-03-02 20:19:53.228 +03:00 [INF] Executed action Volo.Abp.Suite.Controllers.AbpSuiteController.OpenLogsFolder (Volo.Abp.Suite) in 31.8562ms 2025-03-02 20:19:53.228 +03:00 [INF] Executed endpoint 'Volo.Abp.Suite.Controllers.AbpSuiteController.OpenLogsFolder (Volo.Abp.Suite)' 2025-03-02 20:19:53.228 +03:00 [INF] Request finished HTTP/1.1 GET http://localhost:3000/api/abpSuite/open-logs-folder - 204 null null 32.1736ms 2025-03-02 20:20:32.857 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:3000/api/abpSuite/open-logs-folder - application/json null 2025-03-02 20:20:32.857 +03:00 [INF] Executing endpoint 'Volo.Abp.Suite.Controllers.AbpSuiteController.OpenLogsFolder (Volo.Abp.Suite)' 2025-03-02 20:20:32.857 +03:00 [INF] Route matched with {action = "OpenLogsFolder", controller = "AbpSuite", area = "", page = ""}. Executing controller action with signature Void OpenLogsFolder() on controller Volo.Abp.Suite.Controllers.AbpSuiteController (Volo.Abp.Suite). 2025-03-02 20:20:32.881 +03:00 [INF] Executed action Volo.Abp.Suite.Controllers.AbpSuiteController.OpenLogsFolder (Volo.Abp.Suite) in 24.0993ms 2025-03-02 20:20:32.881 +03:00 [INF] Executed endpoint 'Volo.Abp.Suite.Controllers.AbpSuiteController.OpenLogsFolder (Volo.Abp.Suite)' 2025-03-02 20:20:32.881 +03:00 [INF] Request finished HTTP/1.1 GET http://localhost:3000/api/abpSuite/open-logs-folder - 204 null null 24.5211ms 2025-03-02 20:20:34.462 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:3000/api/abpSuite/open-logs-folder - application/json null 2025-03-02 20:20:34.462 +03:00 [INF] Executing endpoint 'Volo.Abp.Suite.Controllers.AbpSuiteController.OpenLogsFolder (Volo.Abp.Suite)' 2025-03-02 20:20:34.462 +03:00 [INF] Route matched with {action = "OpenLogsFolder", controller = "AbpSuite", area = "", page = ""}. Executing controller action with signature Void OpenLogsFolder() on controller Volo.Abp.Suite.Controllers.AbpSuiteController (Volo.Abp.Suite). 2025-03-02 20:20:34.488 +03:00 [INF] Executed action Volo.Abp.Suite.Controllers.AbpSuiteController.OpenLogsFolder (Volo.Abp.Suite) in 25.8093ms 2025-03-02 20:20:34.488 +03:00 [INF] Executed endpoint 'Volo.Abp.Suite.Controllers.AbpSuiteController.OpenLogsFolder (Volo.Abp.Suite)' 2025-03-02 20:20:34.488 +03:00 [INF] Request finished HTTP/1.1 GET http://localhost:3000/api/abpSuite/open-logs-folder - 204 null null 26.3611ms
Are there any bugs in abp suite ?
14 Answer(s)
-
0
Hi, can you share the "GovernmentSupportProgram.json" file under the .suite/entities folder, so I can check the related metadata of the entity to better assist you.
Regards..
-
0
Sure,
{ "Id": "ca450d01-93f9-43ba-8b69-c0e19f549855", "Name": "GovernmentSupportProgram", "OriginalName": "GovernmentSupportProgram", "NamePlural": "GovernmentSupportPrograms", "DatabaseTableName": "GovernmentSupportPrograms", "Namespace": "GovernmentSupportPrograms", "Type": 1, "MasterEntityName": null, "MasterEntity": null, "BaseClass": "FullAuditedAggregateRoot", "PageTitle": "GovernmentSupportPrograms", "MenuIcon": "file-alt", "PrimaryKeyType": "Guid", "PreserveCustomCode": false, "IsMultiTenant": true, "CheckConcurrency": true, "BulkDeleteEnabled": true, "ShouldCreateUserInterface": true, "ShouldCreateBackend": true, "ShouldExportExcel": true, "ShouldAddMigration": true, "ShouldUpdateDatabase": true, "CreateTests": false, "Properties": [ { "Id": "450a381f-0304-4c3e-b51b-bbc6191799b3", "Name": "NameEn", "Type": "string", "EnumType": "", "EnumNamespace": "", "EnumAngularImport": "shared/enums", "EnumFilePath": null, "DefaultValue": null, "IsNullable": false, "IsRequired": true, "IsFilterable": false, "AllowEmptyStrings": false, "IsTextArea": false, "MinLength": null, "MaxLength": null, "SortOrder": 0, "SortType": 0, "Regex": "", "EmailValidation": false, "ShowOnList": true, "ShowOnCreateModal": true, "ShowOnEditModal": true, "ReadonlyOnEditModal": false, "EnumValues": null, "IsSelected": true, "MaxFileSize": null, "OrdinalIndex": 0 }, { "Id": "ec71de63-cbae-47ef-8694-14d5fd6b97be", "Name": "NameAr", "Type": "string", "EnumType": "", "EnumNamespace": "", "EnumAngularImport": "shared/enums", "EnumFilePath": null, "DefaultValue": null, "IsNullable": false, "IsRequired": true, "IsFilterable": false, "AllowEmptyStrings": false, "IsTextArea": false, "MinLength": null, "MaxLength": null, "SortOrder": 0, "SortType": 0, "Regex": "", "EmailValidation": false, "ShowOnList": true, "ShowOnCreateModal": true, "ShowOnEditModal": true, "ReadonlyOnEditModal": false, "EnumValues": null, "IsSelected": true, "MaxFileSize": null, "OrdinalIndex": 0 } ], "NavigationProperties": [], "NavigationConnections": [], "ChildEntities": [], "PhysicalFileName": "GovernmentSupportProgram.json" }
-
0
{
"Id": "ca450d01-93f9-43ba-8b69-c0e19f549855",
"Name": "GovernmentSupportProgram",
"OriginalName": "GovernmentSupportProgram",
"NamePlural": "GovernmentSupportPrograms",
"DatabaseTableName": "GovernmentSupportPrograms",
"Namespace": "GovernmentSupportPrograms",
"Type": 1,
"MasterEntityName": null,
"MasterEntity": null,
"BaseClass": "FullAuditedAggregateRoot",
"PageTitle": "GovernmentSupportPrograms",
"MenuIcon": "file-alt",
"PrimaryKeyType": "Guid",
"PreserveCustomCode": false,
"IsMultiTenant": true,
"CheckConcurrency": true,
"BulkDeleteEnabled": true,
"ShouldCreateUserInterface": true,
"ShouldCreateBackend": true,
"ShouldExportExcel": true,
"ShouldAddMigration": true,
"ShouldUpdateDatabase": true,
"CreateTests": false,
"Properties": [
{
"Id": "450a381f-0304-4c3e-b51b-bbc6191799b3",
"Name": "NameEn",
"Type": "string",
"EnumType": "",
"EnumNamespace": "",
"EnumAngularImport": "shared/enums",
"EnumFilePath": null,
"DefaultValue": null,
"IsNullable": false,
"IsRequired": true,
"IsFilterable": false,
"AllowEmptyStrings": false,
"IsTextArea": false,
"MinLength": null,
"MaxLength": null,
"SortOrder": 0,
"SortType": 0,
"Regex": "",
"EmailValidation": false,
"ShowOnList": true,
"ShowOnCreateModal": true,
"ShowOnEditModal": true,
"ReadonlyOnEditModal": false,
"EnumValues": null,
"IsSelected": true,
"MaxFileSize": null,
"OrdinalIndex": 0
},
{
"Id": "ec71de63-cbae-47ef-8694-14d5fd6b97be",
"Name": "NameAr",
"Type": "string",
"EnumType": "",
"EnumNamespace": "",
"EnumAngularImport": "shared/enums",
"EnumFilePath": null,
"DefaultValue": null,
"IsNullable": false,
"IsRequired": true,
"IsFilterable": false,
"AllowEmptyStrings": false,
"IsTextArea": false,
"MinLength": null,
"MaxLength": null,
"SortOrder": 0,
"SortType": 0,
"Regex": "",
"EmailValidation": false,
"ShowOnList": true,
"ShowOnCreateModal": true,
"ShowOnEditModal": true,
"ReadonlyOnEditModal": false,
"EnumValues": null,
"IsSelected": true,
"MaxFileSize": null,
"OrdinalIndex": 0
}
],
"NavigationProperties": [],
"NavigationConnections": [],
"ChildEntities": [],
"PhysicalFileName": "GovernmentSupportProgram.json"
}Thanks. I have checked the metadata there is no problem related to that. So, I need Suite logs to understand the problem can you share the logs, please?
You can click the logs menu item in the topbar and open the folder and share the related suite logs file.
Regards.
-
0
{
"Id": "ca450d01-93f9-43ba-8b69-c0e19f549855",
"Name": "GovernmentSupportProgram",
"OriginalName": "GovernmentSupportProgram",
"NamePlural": "GovernmentSupportPrograms",
"DatabaseTableName": "GovernmentSupportPrograms",
"Namespace": "GovernmentSupportPrograms",
"Type": 1,
"MasterEntityName": null,
"MasterEntity": null,
"BaseClass": "FullAuditedAggregateRoot",
"PageTitle": "GovernmentSupportPrograms",
"MenuIcon": "file-alt",
"PrimaryKeyType": "Guid",
"PreserveCustomCode": false,
"IsMultiTenant": true,
"CheckConcurrency": true,
"BulkDeleteEnabled": true,
"ShouldCreateUserInterface": true,
"ShouldCreateBackend": true,
"ShouldExportExcel": true,
"ShouldAddMigration": true,
"ShouldUpdateDatabase": true,
"CreateTests": false,
"Properties": [
{
"Id": "450a381f-0304-4c3e-b51b-bbc6191799b3",
"Name": "NameEn",
"Type": "string",
"EnumType": "",
"EnumNamespace": "",
"EnumAngularImport": "shared/enums",
"EnumFilePath": null,
"DefaultValue": null,
"IsNullable": false,
"IsRequired": true,
"IsFilterable": false,
"AllowEmptyStrings": false,
"IsTextArea": false,
"MinLength": null,
"MaxLength": null,
"SortOrder": 0,
"SortType": 0,
"Regex": "",
"EmailValidation": false,
"ShowOnList": true,
"ShowOnCreateModal": true,
"ShowOnEditModal": true,
"ReadonlyOnEditModal": false,
"EnumValues": null,
"IsSelected": true,
"MaxFileSize": null,
"OrdinalIndex": 0
},
{
"Id": "ec71de63-cbae-47ef-8694-14d5fd6b97be",
"Name": "NameAr",
"Type": "string",
"EnumType": "",
"EnumNamespace": "",
"EnumAngularImport": "shared/enums",
"EnumFilePath": null,
"DefaultValue": null,
"IsNullable": false,
"IsRequired": true,
"IsFilterable": false,
"AllowEmptyStrings": false,
"IsTextArea": false,
"MinLength": null,
"MaxLength": null,
"SortOrder": 0,
"SortType": 0,
"Regex": "",
"EmailValidation": false,
"ShowOnList": true,
"ShowOnCreateModal": true,
"ShowOnEditModal": true,
"ReadonlyOnEditModal": false,
"EnumValues": null,
"IsSelected": true,
"MaxFileSize": null,
"OrdinalIndex": 0
}
],
"NavigationProperties": [],
"NavigationConnections": [],
"ChildEntities": [],
"PhysicalFileName": "GovernmentSupportProgram.json"
}Thanks. I have checked the metadata there is no problem related to that. So, I need Suite logs to understand the problem can you share the logs, please?
You can click the logs menu item in the topbar and open the folder and share the related suite logs file.
Regards.
Sure, I shared a bove but will share for all log file :
https://drive.google.com/file/d/1uYU3HKcMmGMWCWtY8_DPfVM-2YjJab38/view?usp=drive_link
-
0
Any update brother ?
-
0
Any update brother ?
I have tried to view the log file but it showed a modal as follows:
I requested access for the log file. When you grant the access, I will check the log file and write you back asap.
-
0
I'm sorry, now you can view log file
-
0
I'm sorry, now you can view log file
Thanks, I have reviewed the log file, and the problem seems to be that ABP Suite tried to build your solution with the following command:
dotnet build "C:\Mywork\ManarahTech\NeuErp\modules\HR"
But the returned build result was succeeded: false, this is the reason why you get that error message.
There might be two reasons for this problem:
-
When ABP Suite runs the related command, there might be an already used assembly, so this causes the build as unsuccessfull.
-
You might be moved your module or solution to a different directory.
To fix it, you can ensure your application is not working and try again. Or if it still continues, you can remove your solution and then re-add it and try to generate code and it should be working as expected then.
Regards.
-
-
0
I'm sorry, now you can view log file
Thanks, I have reviewed the log file, and the problem seems to be that ABP Suite tried to build your solution with the following command:
dotnet build "C:\Mywork\ManarahTech\NeuErp\modules\HR"
But the returned build result was succeeded: false, this is the reason why you get that error message.
There might be two reasons for this problem:
-
When ABP Suite runs the related command, there might be an already used assembly, so this causes the build as unsuccessfull.
-
You might be moved your module or solution to a different directory.
To fix it, you can ensure your application is not working and try again. Or if it still continues, you can remove your solution and then re-add it and try to generate code and it should be working as expected then.
Regards.
You mean remove our solution from abp suite ?
-
-
0
You mean remove our solution from abp suite ?
Yes, and then re-add it again. This will refresh the solution info for your project. The pre-generated entity metadata will not be removed, so it will not create any problem.
Regards.
-
0
You mean remove our solution from abp suite ?
Yes, and then re-add it again. This will refresh the solution info for your project. The pre-generated entity metadata will not be removed, so it will not create any problem.
Regards.
I removed these from abp suite and re-add them, but the same errors :
Note we have main app and HR module, when we generate entity int HR module gave me that error,
but when generate entity in main app, its work well without any errors -
0
Note we have main app and HR module, when we generate entity int HR module gave me that error,
but when generate entity in main app, its work well without any errorsI will deeply investigate this, but ideally it should not give build error because as written in the logs it runs the following command:
dotnet build "C:\Mywork\ManarahTech\NeuErp\modules\HR"
I'll let you know after checking it deeply.
Regards.
-
0
Note we have main app and HR module, when we generate entity int HR module gave me that error,
but when generate entity in main app, its work well without any errorsI will deeply investigate this, but ideally it should not give build error because as written in the logs it runs the following command:
dotnet build "C:\Mywork\ManarahTech\NeuErp\modules\HR"
I'll let you know after checking it deeply.
Regards.
Hello bro.
It’s working well now. The issue is that the test project is unloaded because it targets .NET 7.0, which is not installed on our system.
-
0
Note we have main app and HR module, when we generate entity int HR module gave me that error,
but when generate entity in main app, its work well without any errorsI will deeply investigate this, but ideally it should not give build error because as written in the logs it runs the following command:
dotnet build "C:\Mywork\ManarahTech\NeuErp\modules\HR"
I'll let you know after checking it deeply.
Regards.
Hello bro.
It’s working well now. The issue is that the test project is unloaded because it targets .NET 7.0, which is not installed on our system.
Okay, great to hear that. Closing the issue, since your problem is resolved.
Best regards.