Skip to content

Long Project Name breaks layout in new MAUI Blazor App #7231

@jclarkcds

Description

@jclarkcds

Description

When creating a new project with the .Net MAUI Blazor template, the layout page is not rendering. After much research, Main.Razor and Shared\MainLayout.razor were all correct. Pages\index.razor renders without the layout.
MAUI

Steps to Reproduce

  1. Create Project > .NET MAUI Blazor App (Preview)
  2. Project Name > Maui Blazor DLPHIN API Testing
  3. Location in my DevOps Workspace
  4. Clicked Create

Version with bug

Release Candidate 3 (current)

Last version that worked well

Unknown/Other

Affected platforms

I was not able test on other platforms

Affected platform versions

All Platforms

Did you find any workaround?

Yes, in looking at the rootnamespace - Maui_Blazor_DLPHIN_API_Testing, I wondered about the length and the spaces in the project name.

I re-created a new project and took the default name MauiApp1 and placed in my local repo instead of my DevOps Workspace and all is well.
MAUIAPP1

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-blazorBlazor Hybrid / Desktop, BlazorWebViews/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions