0
pmagentur created
Hi,
when I try to generate new tables with this command for example: dotnet AspNetZeroRadTool.dll customer.json I get the following error message: An error occured. : Object reference not set to an instance of an object. I didn't touch the config.json and both folders (angular, aspnet-core) are in the same directory. How can I fix this problem? Thank you!
5 Answer(s)
-
0
Hi @pmagentur,
Could you share your AspNet Zero and AspNet Zero Power Tools versions ?
Thanks,
-
0
I tried it with Zero 8.4 and 8.5, both throuigh an exception during generating.
-
0
Hi,
Could you share your customer.json with us ?
Thanks,
-
0
Sure here it is:
{ "IsRegenerate": false, "MenuPosition": "main", "RelativeNamespace": "Customers", "EntityName": "Customer", "EntityNamePlural": "Customers", "TableName": "Customers", "PrimaryKeyType": "int", "BaseClass": "Entity", "EntityHistory": false, "AutoMigration": true, "UpdateDatabase": true, "CreateUserInterface": true, "CreateViewOnly": true, "CreateExcelExport": true, "PagePermission": { "Host": true, "Tenant": true }, "Properties": [ { "Name": "Name", "Type": "string", "MaxLength": 25, "MinLength": 2, "Required": true, "Nullable": false, "Regex": "" } ] }
-
0
Hi,
I have created an issue, please follow the related issue https://github.com/aspnetzero/aspnet-zero-core/issues/3184.
Thanks,