Open Closed

How to create NON-Pro Blazor Server project #10091


User avatar
0
joe@tronactive.com created

I am not sure what I am doing wrong. I want to create a basic Blazor Server project with no pro modules in it. It seems because I have Abp Studio. Even when I just use the CLI it seems to always add the Pro module libraries.

What am i doing wrong?


2 Answer(s)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent
    1. Solution
    • If you have ABP Commercial (ABP Studio/Business+ license) installed, the new ABP CLI defaults to the unified template system and may include Pro modules when you create a solution via Studio or the new CLI. Use one of these verified ways to create a Free (non‑Pro) Blazor Server project:

      1. Use the “free” startup template with the CLI:
        • Old (classic) CLI syntax: abp new Acme.BookStore -t app -u blazor-server --mobile none --old
        • New CLI syntax (still generating the free template when you specify -t app and Blazor Server): abp new Acme.BookStore -t app -u blazor-server --mobile none Notes:
        • -t app selects the standard Application template.
        • -u blazor-server selects Blazor Server UI.
        • --mobile none keeps it minimal.
        • If the new CLI on your machine still injects commercial modules, append --old to force the legacy free generator.
      2. Use the “non-commercial” docs sample command exactly: abp new Acme.BookStore -t app -u blazor-server --mobile none
    • Ensure you are using the correct CLI:

      • If you installed the new Studio CLI (Volo.Abp.Studio.Cli), it overrides the abp command. To guarantee free templates identical to the classic generator, use --old or install the legacy CLI alone: dotnet tool uninstall -g Volo.Abp.Studio.Cli dotnet tool install -g Volo.Abp.Cli abp new Acme.BookStore -t app -u blazor-server --mobile none
      • Alternatively, keep the new CLI and just add --old at the end of your abp new command.
    • If you already created a solution that contains Pro modules and want to remove them:

      • Remove Pro module package references from the .csproj files and the corresponding module dependencies from your Module classes (e.g., AbpSaas*, FileManagement*, CmsKitPro*, AuditLogging Pro, etc.).
      • Remove related configuration from appsettings.json (e.g., SaaS, FileManagement, etc.) and from DI registrations.
      • Run restore and build after cleanup.
    1. Sources
    • https://abp.io/docs/latest/cli/new-command-samples
    • https://docs.abp.io/en/abp/latest/CLI
    • https://abp.io/community/articles/2zfl7sqs
    • https://community.abp.io/posts/how-to-remove-commercial-modules-from-your-solution-8tq0nwhl

    This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    abp new command has --use-open-source-template or -uost parameter.

    abp help new

    📍 --use-open-source-template or -uost: Uses the open-source template. (Available for Team or higher licenses)

    Thanks.

Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.