Open Closed

Blazorise 2.x incompatibility with ABP 10.1.1 Pro Blazor modules (runtime type load exception) #10528


User avatar
0
pareeks@gccontractor.org created
  • Description: We are encountering runtime errors after upgrading Blazorise to 2.0.2 in an ABP 10.1.1 (Pro) application. Despite following the official migration guide ABP Blazorise 1.x to 2.0 Migration Guide, ABP Pro Blazor modules appear to still depend on Blazorise 1.8.x, causing type resolution failures at runtime.

  • Exception message and full stack trace Could not load type 'Blazorise.TextEdit' from assembly 'Blazorise, Version=2.0.2.0, Culture=neutral, PublicKeyToken=null'. at Volo.Abp.Identity.Pro.Blazor.Pages.Identity.OrganizationUnitsManagement.HLIlKKXmTc(RenderTreeBuilder ) at Volo.Abp.Identity.Pro.Blazor.Pages.Identity.OrganizationUnitsManagement.HLIlKKXmTc(RenderTreeBuilder ) at Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.AddContent(Int32 sequence, RenderFragment fragment) at Blazorise.Bootstrap5.Components.Field.<BuildRenderTree>b__1_0(RenderTreeBuilder __builder2) at Microsoft.AspNetCore.Components.CascadingValue1.Render(RenderTreeBuilder builder) at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)

  • Steps to reproduce the issue:

  1. Start with ABP 10.1.1 (Blazor Server, Pro template)
  2. Upgrade Blazorise packages to 2.0.2
  3. Run the application
  4. Navigate to Pro module pages (e.g., Identity → Organization Units)
  • Observed Behavior
  1. Runtime exceptions occur when rendering ABP Pro Blazor components
  2. Errors indicate missing types like Blazorise.TextEdit
  3. Multiple UI components fail due to type mismatches
  • Analysis
  1. ABP Pro packages (e.g., Volo.Abp.Identity.Pro.Blazor) are compiled against Blazorise 1.8.x
  2. NuGet dependency graph confirms mixed versions:
  3. Blazorise (2.0.2) (project reference)
  4. Blazorise.Components (1.8.8) (transitive via ABP)
  • Question
  1. Is Blazorise 2.x officially supported in ABP 10.1.1 (especially Pro modules)?
  2. If not, what is the recommended compatible version?
  3. Is there a timeline for full Blazorise 2.x support?

Need a fast resolution for this.


2 Answer(s)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent
    • ABP 10.1.1 (including ABP Commercial/Pro Blazor modules) is not compatible with Blazorise 2.x.
      Your exception is the expected runtime failure mode when you force Blazorise 2.x into an ABP version whose UI modules were built against Blazorise 1.8.x APIs (e.g., Blazorise.TextEdit was changed/removed in v2, so ABP Pro components compiled against v1 types will fail at runtime with Could not load type ...).

    • Fast resolution (recommended for ABP 10.1.1):

      1. Downgrade Blazorise packages back to the Blazorise 1.8.x line (keep versions aligned across all Blazorise-* packages: Blazorise, Blazorise.Bootstrap5, Blazorise.Icons.*, Blazorise.Components, etc.).
      2. Remove any explicit 2.0.2 references so ABP’s transitive dependencies are not overridden by your project.
      3. Clean/rebuild (and if you use ABP CLI, run abp clean) to ensure old assemblies aren’t lingering.
    • When is Blazorise 2.x supported?

      • ABP upgrades Blazorise to 2.0 starting with ABP 10.2. So the correct path to use Blazorise 2.x with ABP Pro modules is to upgrade your whole solution (and all ABP Commercial packages) to ABP 10.2+, then follow the Blazorise 2.0 migration steps.
    • Timeline

      • The only verified info available is that Blazorise 2.0 support is delivered in ABP 10.2. No verified statement is available in the provided sources for a more specific “timeline” beyond that.

    Links (verified):

    • https://abp.io/community/articles/05zatjfq (ABP 10.2 RC release notes: “Blazor: Upgrade to Blazorise 2.0”)
    • https://abp.io/docs/10.2/release-info/migration-guides/blazorise-2-0-migration

    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

    Thank you for reporting this.

    Blazorise 2.x is not supported in ABP 10.1.x. The Pro Blazor packages in 10.1.x were compiled against Blazorise 1.8.x, so upgrading Blazorise independently to 2.0.x will cause the runtime type load exceptions you are seeing (TextEdit was renamed to TextInput in Blazorise 2.0, among other breaking changes).

    Blazorise 2.0 support is included in ABP 10.2, which is currently at RC stage. Please upgrade to ABP 10.2 once it is officially released to use Blazorise 2.0.

    In the meantime, please downgrade Blazorise back to 1.8.x when using ABP 10.1.x.

    Thanks.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.3.0-preview. Updated on March 13, 2026, 12:51
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.