tryphotino/photino.Blazor

Changing Root Namespace breaks routing

sam-wheat opened this issue · 2 comments

I normally create projects with names like MyApp then in .csproj I add RootNamespace:

<PropertyGroup>
    <RootNamespace>MyCompany.MyApp</RootNamespace>
    <AssemblyName>MyApp</AssemblyName>
</PropertyGroup>

When I do this with a Photino Blazor app the NavMenu component fails to render properly. IDK why this is happening - DevTools tells me all the css / js files are found.

I did update _Imports.razor with the new namespace.

@sam-wheat We don't think this has anything to do with Photino as the RootNamespace is used at .NET compile time and isn't even available at runtime. We wonder if it's related to this issue: dotnet/razor#9803 ?

@MikeYeager Most likely is the same issue I reported a couple years ago. I completely forgot about that.