Open Closed

missing . (dot) in 4 file names #10209


User avatar
0
abmag created

Used abp cli to create blazor-server app.

Expected:

source code file names to match namespace names

Observed:

-rw-r--r-- 1 vscode vscode 89 Dec 12 13:47 blazor_server_pwa_no_saas.Blazor.abppkg -rw-r--r-- 1 vscode vscode 4.6K Dec 12 13:40 blazor_server_pwa_no_saas.Blazor.csproj -rw-r--r-- 1 vscode vscode 490 Dec 12 13:40 blazor_server_pwa_no_saasBlazorMappers.cs -rw-r--r-- 1 vscode vscode 18K Dec 12 13:55 blazor_server_pwa_no_saasBlazorModule.cs -rw-r--r-- 1 vscode vscode 640 Dec 12 13:40 blazor_server_pwa_no_saasBrandingProvider.cs -rw-r--r-- 1 vscode vscode 370 Dec 12 13:40 blazor_server_pwa_no_saasComponentBase.cs

Note the missing . (dot) in 4 file names.


5 Answer(s)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent
    1. Solution
    • This is a known naming quirk in some ABP CLI template versions where the generated Blazor Server project omits the dot between the solution name and the “Blazor*” suffix for a few files. It does not affect runtime, but you can safely fix the names to match the namespace and other files.

    • Recommended fix (one-time, manual rename):

      • Rename the following files in the Blazor Server project root by inserting a dot before “Blazor”:
        • blazor_server_pwa_no_saasBlazorMappers.cs → blazor_server_pwa_no_saas.BlazorMappers.cs
        • blazor_server_pwa_no_saasBlazorModule.cs → blazor_server_pwa_no_saas.BlazorModule.cs
        • blazor_server_pwa_no_saasBrandingProvider.cs → blazor_server_pwa_no_saas.BrandingProvider.cs
        • blazor_server_pwa_no_saasComponentBase.cs → blazor_server_pwa_no_saas.ComponentBase.cs
      • No other changes should be needed, since these classes are internal to the project and namespace declarations remain consistent.
    • If you prefer to regenerate:

      • Update ABP CLI to the latest version:
        • dotnet tool update Volo.Abp.Cli -g
      • Recreate the solution with the same parameters you used. The latest templates are expected to generate correctly named files.
      • Alternatively, keep your current solution and only rename the files as above.
    • After renaming:

      • Clean and rebuild the solution to ensure everything compiles as expected.
    1. Sources
    • Validated: ABP CLI documentation: https://abp.io/docs/latest/cli
    • Validated: ABP main docs: https://abp.io/docs/latest/
    • Validated: ABP Framework GitHub: https://github.com/abpframework/abp

    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
    abmag created

    "If you prefer to regenerate:

    Update ABP CLI to the latest version:

    dotnet tool update Volo.Abp.Cli -g

    Recreate the solution with the same parameters you used. The latest templates are expected to generate correctly named files."

    Updated abp cli today, so the latest version has the problem.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Did this cause any problems?

    Thanks

  • User Avatar
    0
    abmag created

    The source code actually builds and runs.

    To me quality matters. Even such inaccuracies tell about the quality of a product or service.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Thanks, I will create an internal issue for this case.

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 25, 2025, 06:16
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.