maui icon indicating copy to clipboard operation
maui copied to clipboard

Maui Blazor example project doesnt load sidebar if the projectname contains a space

Open Dragonjester opened this issue 2 years ago • 5 comments
trafficstars

Description

When creating a .NET Maui Blazor App, the navigation is only shown when the name doesn't contain a space. i.e. "MauiApp Lorem Ipsum" grafik

BUT when you create the project without a space in its name, the sidebar is shown. i.e. "MauiBlazorTest" grafik

Steps to Reproduce

  1. Start VS
  2. Select to create a new Project
  3. Select ".NET MAUI Blazor App"
  4. Project Name: "MauiApp Lorem Ipsum"
  5. Select .NET 7.0
  6. Start the debugging on your local windows machine

Link to public reproduction project repository

https://github.com/Dragonjester/Maui-Space-bug

Version with bug

7.0.49

Last version that worked well

6.0

Affected platforms

Android, Windows

Affected platform versions

Windows SDK 10.0.19041.0

Did you find any workaround?

Create the project without a space in its name

Relevant log output

No response

Dragonjester avatar Jul 13 '23 12:07 Dragonjester

Hi, @Dragonjester - could you try something like <AssemblyName>NameWithoutSpaces</AssemblyName> and let us know if that works?

rachelkang avatar Jul 13 '23 18:07 rachelkang

Hi @Dragonjester. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

ghost avatar Jul 13 '23 18:07 ghost

Hi @rachelkang, setting the AssemblyName doesn't change the behaviour

grafik

Dragonjester avatar Jul 13 '23 18:07 Dragonjester

We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.

ghost avatar Jul 18 '23 16:07 ghost

Verified this on Visual Studio Enterprise 17.7.0 Preview 6.0. Repro on Windows 11 .NET 8, Android 13.0-API33 and iOS 16.4 with below Project: Maui Space Bug.zip

XamlTest avatar Aug 07 '23 09:08 XamlTest