I am starting a new project with the 12.2rc1 release; the system migrated OK and I am starting a new entity and have a power tools build error. I went to the Mortho.Migrator>dotnet build in comand prompt and did the dotnet build and received the below problem.
To be clear, new install on everything, doing entity from new; I included the old version of the table i was creating, see old table below
thanks for looking into this.
Error from power tools Microsoft Windows [Version 10.0.22000.1936] (c) Microsoft Corporation. All rights reserved.
C:\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Migrator>dotnet build
MSBuild version 17.6.1+8ffc3fe3d for .NET
Determining projects to restore...
Restored C:\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core.Shared\Mortho.Core.Shared.csproj (in 537 ms).
Restored C:\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Mortho.Core.csproj (in 553 ms).
Restored C:\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Migrator\Mortho.Migrator.csproj (in 554 ms).
Restored C:\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.EntityFrameworkCore\Mortho.EntityFrameworkCore.csp
roj (in 554 ms).
Mortho.Core.Shared -> C:\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core.Shared\bin\Debug\netstandard2.0
Mortho.Core.Shared.dll
C:\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Authorization\AppAuthorizationProvider.cs(36,98): error
CS0117: 'AppPermissions' does not contain a definition for 'Pages_Administration_MorthoDoctorAssignedStaffs' [C:\github
\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Mortho.Core.csproj]
C:\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Authorization\AppAuthorizationProvider.cs(37,77): error
CS0117: 'AppPermissions' does not contain a definition for 'Pages_Administration_MorthoDoctorAssignedStaffs_Create' [C:
\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Mortho.Core.csproj]
C:\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Authorization\AppAuthorizationProvider.cs(38,77): error
CS0117: 'AppPermissions' does not contain a definition for 'Pages_Administration_MorthoDoctorAssignedStaffs_Edit' [C:\g
ithub\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Mortho.Core.csproj]
C:\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Authorization\AppAuthorizationProvider.cs(39,77): error
CS0117: 'AppPermissions' does not contain a definition for 'Pages_Administration_MorthoDoctorAssignedStaffs_Delete' [C:
\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Mortho.Core.csproj]
Build FAILED.
C:\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Authorization\AppAuthorizationProvider.cs(36,98): error CS0117: 'AppPermissions' does not contain a definition for 'Pages_Administration_MorthoDoctorAssignedStaffs' [C:\github \murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Mortho.Core.csproj] C:\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Authorization\AppAuthorizationProvider.cs(37,77): error CS0117: 'AppPermissions' does not contain a definition for 'Pages_Administration_MorthoDoctorAssignedStaffs_Create' [C: \github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Mortho.Core.csproj] C:\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Authorization\AppAuthorizationProvider.cs(38,77): error CS0117: 'AppPermissions' does not contain a definition for 'Pages_Administration_MorthoDoctorAssignedStaffs_Edit' [C:\g ithub\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Mortho.Core.csproj] C:\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Authorization\AppAuthorizationProvider.cs(39,77): error CS0117: 'AppPermissions' does not contain a definition for 'Pages_Administration_MorthoDoctorAssignedStaffs_Delete' [C: \github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Mortho.Core.csproj] 0 Warning(s) 4 Error(s)
Time Elapsed 00:00:06.22
C:\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Migrator>Microsoft Windows [Version 10.0.22000.1936] (c) Microsoft Corporation. All rights reserved.
C:\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Migrator>dotnet build
MSBuild version 17.6.1+8ffc3fe3d for .NET
Determining projects to restore...
Restored C:\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core.Shared\Mortho.Core.Shared.csproj (in 537 ms).
Restored C:\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Mortho.Core.csproj (in 553 ms).
Restored C:\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Migrator\Mortho.Migrator.csproj (in 554 ms).
Restored C:\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.EntityFrameworkCore\Mortho.EntityFrameworkCore.csp
roj (in 554 ms).
Mortho.Core.Shared -> C:\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core.Shared\bin\Debug\netstandard2.0
Mortho.Core.Shared.dll
C:\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Authorization\AppAuthorizationProvider.cs(36,98): error
CS0117: 'AppPermissions' does not contain a definition for 'Pages_Administration_MorthoDoctorAssignedStaffs' [C:\github
\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Mortho.Core.csproj]
C:\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Authorization\AppAuthorizationProvider.cs(37,77): error
CS0117: 'AppPermissions' does not contain a definition for 'Pages_Administration_MorthoDoctorAssignedStaffs_Create' [C:
\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Mortho.Core.csproj]
C:\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Authorization\AppAuthorizationProvider.cs(38,77): error
CS0117: 'AppPermissions' does not contain a definition for 'Pages_Administration_MorthoDoctorAssignedStaffs_Edit' [C:\g
ithub\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Mortho.Core.csproj]
C:\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Authorization\AppAuthorizationProvider.cs(39,77): error
CS0117: 'AppPermissions' does not contain a definition for 'Pages_Administration_MorthoDoctorAssignedStaffs_Delete' [C:
\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Mortho.Core.csproj]
Build FAILED.
C:\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Authorization\AppAuthorizationProvider.cs(36,98): error CS0117: 'AppPermissions' does not contain a definition for 'Pages_Administration_MorthoDoctorAssignedStaffs' [C:\github \murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Mortho.Core.csproj] C:\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Authorization\AppAuthorizationProvider.cs(37,77): error CS0117: 'AppPermissions' does not contain a definition for 'Pages_Administration_MorthoDoctorAssignedStaffs_Create' [C: \github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Mortho.Core.csproj] C:\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Authorization\AppAuthorizationProvider.cs(38,77): error CS0117: 'AppPermissions' does not contain a definition for 'Pages_Administration_MorthoDoctorAssignedStaffs_Edit' [C:\g ithub\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Mortho.Core.csproj] C:\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Authorization\AppAuthorizationProvider.cs(39,77): error CS0117: 'AppPermissions' does not contain a definition for 'Pages_Administration_MorthoDoctorAssignedStaffs_Delete' [C: \github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Core\Mortho.Core.csproj] 0 Warning(s) 4 Error(s)
Time Elapsed 00:00:06.22
C:\github\murphymj5209\Mortho-12.2\aspnet-core\src\Mortho.Migrator>
old table { "IsRegenerate": true, "MenuPosition": "admin", "RelativeNamespace": "NsMorthoDoctorAssignedStaff", "EntityName": "MorthoDoctorAssignedStaff", "EntityNamePlural": "MorthoDoctorAssignedStaffs", "TableName": "MorthoDoctorAssignedStaffs", "PrimaryKeyType": "int", "BaseClass": "FullAuditedEntity", "EntityHistory": false, "AutoMigration": true, "UpdateDatabase": true, "CreateUserInterface": true, "CreateViewOnly": true, "CreateExcelExport": true, "IsNonModalCRUDPage": false, "IsMasterDetailPage": false, "PagePermission": { "Host": true, "Tenant": true }, "Properties": [ { "Name": "StaffId", "Type": "int", "MaxLength": -1, "MinLength": -1, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": false, "Nullable": true, "Regex": "", "UserInterface": { "AdvancedFilter": true, "List": true, "CreateOrUpdate": true }, "ViewType": null, "AdditionalData": {} }, { "Name": "DoctorId", "Type": "int", "MaxLength": -1, "MinLength": -1, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": false, "Nullable": true, "Regex": "", "UserInterface": { "AdvancedFilter": true, "List": true, "CreateOrUpdate": true }, "ViewType": null, "AdditionalData": {} }, { "Name": "AssignById", "Type": "int", "MaxLength": -1, "MinLength": -1, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": false, "Nullable": true, "Regex": "", "UserInterface": { "AdvancedFilter": true, "List": true, "CreateOrUpdate": true }, "ViewType": null, "AdditionalData": {} }, { "Name": "Status", "Type": "string", "MaxLength": 250, "MinLength": 0, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": false, "Nullable": false, "Regex": "", "UserInterface": { "AdvancedFilter": true, "List": true, "CreateOrUpdate": true }, "ViewType": null, "AdditionalData": {} }, { "Name": "RoleId", "Type": "int", "MaxLength": -1, "MinLength": -1, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": false, "Nullable": true, "Regex": "", "UserInterface": { "AdvancedFilter": true, "List": true, "CreateOrUpdate": true }, "ViewType": null, "AdditionalData": {} } ], "NavigationProperties": [], "NavigationPropertyOneToManyTables": [], "EnumDefinitions": [], "DbContext": null }
7 Answer(s)
-
0
Hi @murphymj5209,
Thank you for reporting this issue. You can follow the issue here. https://github.com/aspnetzero/aspnet-zero-core/issues/4865
-
0
thanks for letting me know. I will follow.
-
0
-
0
-
0
I apologize for not getting back but I have not received any emails via the support area; we have talked about this issue, it is not resolved. but I do appreciate your efforts.
-
0
Also, I have downloaded the 12.2 release and the problem is still happening. :)
-
0
Hi @murphymj5209,
For now, you can review this solution; it will be fixed in version 12.2.1.
https://support.aspnetzero.com/QA/Questions/11610/power-tool-is-not-generating-properly#answer-3ad0f9b2-22de-c8a1-5af0-3a0ba17e95ba