Open Closed

Cannot use "CRUD Page Generator" and cannot find "Volo.Abp.Commercial.SuiteTemplates" #7943


User avatar
0
JKerketta created

I experience the following error when using CRUD Page Generator in Abp Suite

So this set me on a quest to find the missing package. I tried to install package Volo.Abp.Commercial.SuiteTemplates but ran into the following issue:


C:\CodeNStuff\GitHub\ABP_Frameworks5\Universal.WMS\src\Universal.WMS.Blazor>abp add-package Volo.Abp.Commercial.SuiteTemplates --version 8.0.4

ABP CLI 8.0.4 Installing 'Volo.Abp.Commercial.SuiteTemplates' package to the project 'Universal.WMS.Blazor'... Determining projects to restore... Writing C:\Users\jk817\AppData\Local\Temp\tmpn5v1mr.tmp info : X.509 certificate chain validation will use the default trust store selected by .NET for code signing. info : X.509 certificate chain validation will use the default trust store selected by .NET for timestamping. info : Adding PackageReference for package 'Volo.Abp.Commercial.SuiteTemplates' into project 'C:\CodeNStuff\GitHub\ABP_Frameworks5\Universal.WMS\src\Universal.WMS.Blazor\Universal.WMS.Blazor.csproj'. info : Restoring packages for C:\CodeNStuff\GitHub\ABP_Frameworks5\Universal.WMS\src\Universal.WMS.Blazor\Universal.WMS.Blazor.csproj... info : GET https://api.nuget.org/v3-flatcontainer/volo.abp.aspnetcore.mvc.ui.theme.leptonxlite/index.json info : GET https://api.nuget.org/v3-flatcontainer/volo.abp.aspnetcore.components.server.leptonxlitetheme/index.json info : OK https://api.nuget.org/v3-flatcontainer/volo.abp.aspnetcore.mvc.ui.theme.leptonxlite/index.json 103ms info : OK https://api.nuget.org/v3-flatcontainer/volo.abp.aspnetcore.components.server.leptonxlitetheme/index.json 164ms info : GET https://api.nuget.org/v3-flatcontainer/volo.abp.commercial.suitetemplates/index.json info : NotFound https://api.nuget.org/v3-flatcontainer/volo.abp.commercial.suitetemplates/index.json 66ms error: NU1101: Unable to find package Volo.Abp.Commercial.SuiteTemplates. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org info : GET https://api.nuget.org/v3/vulnerabilities/index.json info : OK https://api.nuget.org/v3/vulnerabilities/index.json 19ms info : GET https://api.nuget.org/v3-vulnerabilities/2024.09.17.23.34.11/vulnerability.base.json info : GET https://api.nuget.org/v3-vulnerabilities/2024.09.17.23.34.11/2024.09.19.11.34.15/vulnerability.update.json info : OK https://api.nuget.org/v3-vulnerabilities/2024.09.17.23.34.11/vulnerability.base.json 38ms info : OK https://api.nuget.org/v3-vulnerabilities/2024.09.17.23.34.11/2024.09.19.11.34.15/vulnerability.update.json 58ms error: Package 'Volo.Abp.Commercial.SuiteTemplates' is incompatible with 'all' frameworks in project 'C:\CodeNStuff\GitHub\ABP_Frameworks5\Universal.WMS\src\Universal.WMS.Blazor\Universal.WMS.Blazor.csproj'. Successfully installed.


  • ABP Framework version: v8.0.4

  • UI Type: Blazor Server

  • Database System: EF Core (SQL Server)

  • Tiered (for MVC) : yes

  • Exception message and full stack trace: See above

  • Development Environment: Windows 10, Version 22H2 dotnet version 8.0.108 Microsoft Visual Studio Professional 2022 (64-bit) - LTSC 17.8, Version 17.8.14

  • Steps to reproduce the issue: All the following commands failed abp add-package Volo.Abp.Commercial.SuiteTemplates --version 8.0.4 dotnet add package Volo.Abp.Commercial.SuiteTemplates Install-Package Volo.Abp.Commercial.SuiteTemplates

I also tried updating the .csproj file for the project and ran the command dotnet restore, but that failed as well.

I also tried updating ABP CLI and the C# code to ABP version v8.3.0 but got the same error.

Clicking on See on Nuget below brings up the page

I cannot find the package Volo.Abp.Commercial.SuiteTemplates anywhere In fact, I cannot install any of the Commercial License packages.

Please advise on how this error can be resolved.


7 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Package 'Volo.Abp.Commercial.SuiteTemplates' is incompatible with 'all' frameworks in project 'C:\CodeNStuff\GitHub\ABP_Frameworks5\Universal.WMS\src\Universal.WMS.Blazor\Universal.WMS.Blazor.csproj'.

    you can install the Volo.Abp.Commercial.SuiteTemplates to Domain project.

  • User Avatar
    0
    JKerketta created

    Firstly, I should point out that I have always tried the above commands at the console only after I have logged in at the console and logged in at the "ABP.IO" web site using my commercial paid account. Why can I not add to the main Universal.WMS.Blazor module? Why should I add it to the Domain module?

    Is this documented on any of the help pages? How was I supposed to know this? Did I miss reading something or understanding any of the instructions on where this should be added?

    Update: I am still getting the same error. I do not understand why adding to the Domain module would have worked if adding to the Blazor module failed. The problem seems to be that I cannot access the commercial packages at the NuGet site even when I am using my paid commercial ABP.IO account. Could you please explain?


    C:\CodeNStuff\GitHub\ABP_Frameworks5\Universal.WMS\src\Universal.WMS.Domain>abp add-package Volo.Abp.Commercial.SuiteTemplates --version 8.0.4 ABP CLI 8.0.4 Installing 'Volo.Abp.Commercial.SuiteTemplates' package to the project 'Universal.WMS.Domain'... Determining projects to restore... Writing C:\Users\jk817\AppData\Local\Temp\tmpb5m31y.tmp info : X.509 certificate chain validation will use the default trust store selected by .NET for code signing. info : X.509 certificate chain validation will use the default trust store selected by .NET for timestamping. info : Adding PackageReference for package 'Volo.Abp.Commercial.SuiteTemplates' into project 'C:\CodeNStuff\GitHub\ABP_Frameworks5\Universal.WMS\src\Universal.WMS.Domain\Universal.WMS.Domain.csproj'. info : Restoring packages for C:\CodeNStuff\GitHub\ABP_Frameworks5\Universal.WMS\src\Universal.WMS.Domain\Universal.WMS.Domain.csproj... info : GET https://api.nuget.org/v3-flatcontainer/volo.abp.commercial.suitetemplates/index.json info : NotFound https://api.nuget.org/v3-flatcontainer/volo.abp.commercial.suitetemplates/index.json 194ms error: NU1101: Unable to find package Volo.Abp.Commercial.SuiteTemplates. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org info : GET https://api.nuget.org/v3/vulnerabilities/index.json info : OK https://api.nuget.org/v3/vulnerabilities/index.json 78ms info : GET https://api.nuget.org/v3-vulnerabilities/2024.09.17.23.34.11/vulnerability.base.json info : GET https://api.nuget.org/v3-vulnerabilities/2024.09.17.23.34.11/2024.09.19.23.34.18/vulnerability.update.json info : OK https://api.nuget.org/v3-vulnerabilities/2024.09.17.23.34.11/vulnerability.base.json 79ms info : OK https://api.nuget.org/v3-vulnerabilities/2024.09.17.23.34.11/2024.09.19.23.34.18/vulnerability.update.json 264ms error: Package 'Volo.Abp.Commercial.SuiteTemplates' is incompatible with 'all' frameworks in project 'C:\CodeNStuff\GitHub\ABP_Frameworks5\Universal.WMS\src\Universal.WMS.Domain\Universal.WMS.Domain.csproj'. Successfully installed.


    I also again tried what you said in your reply above. I had mentioned this in my first post that "I also tried updating the .csproj file for the project and ran the command dotnet restore, but that failed as well." I had tried that for the Blazor module. As per your instructions I tried doing the same with the Domain module. That has failed too, as can be seen below.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Your project looks like a free template. you need to add the ABP commercial nuget source to your Nuget.Config.

    To get ABP commercial nuget source link you can create a new pro template project and check it's Nuget.Config

  • User Avatar
    0
    JKerketta created

    Has this been documented anywhere? Nowhere did I come across any documentation that said how to get the specific ABP commercial NuGet source URL when trying to add a commercial package to the modular template.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi

    Has this been documented anywhere

    Nope , because when you create a project with pro template, it will be added automatically.

  • User Avatar
    0
    JKerketta created

    For someone coming from an initially free template not using commercial packages, this should have been documented. We purchased a license only recently. You cannot expect us to start over from a pro template.

    We should not be getting charged for a a question for something that has not been documented or suggested, and then have to ask a question for clarification.

    Please refer this to the main developer or management of ABP.IO.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    It's reasonable, I will refund your ticket.

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