I just created application with the BasicTheme and couln't reproduce the problem.
Which application template did you create?
You can use this wildcard pattern to receive any preview or stable future leptonx 2.3 updates: 2.3.*-*
Hi, Support Team!
I upgraded the Blazor server solution to 7.2.2 and I get this error:
If I press reload, application loads OK. I log in, same error, then Reload, application loads OK.
The only difference from a standard template is that I have added the module Volo.Account.Pro, not as package.
Can you spot what could be wrong?
Also, when I published the app, folder profile, when I try to start it from the console I get:
Tks.
Can you tell me the LeptonX version in .csproj file?
It should be2.3.x. Currently, 2.3.0-rc.1 version is released.
It seems, you inherited from different MainHeaderToolbar and replaced different MainHeaderToolbar in the service collection.
Can you check both MainHeaderToolbar in .razor file and .cs file. Both should be exact same type from the same namespace:
@inherits Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.TopMenu.MainHeader.MainHeaderToolbar
namespace MyProject.Blazor.Components.Layout
{
[ExposeServices(typeof(Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.TopMenu.MainHeader.MainHeaderToolbar))]
[Dependency(ReplaceServices = true)]
public partial class MyMainHeaderToolbar
{
public string Name = "My Main Header Toolbar";
}
}
Hi @dkaczor
This is shipped with v7.2
You can update your project to v7.2 to get the changes.
Please make sure the namespaces. There are 2 MainHeaderToolbar classes from 2 different namespaces
Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.TopMenu.MainHeader.MainHeaderToolbarVolo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.SideMenu.MainHeader.MainHeaderToolbarCan you try placing facicon.ico file in that folder too?
Hi,
These pages are in AuthServer. If you use separated AuthServer in your project, you should add favicon.svg file in your AuthServer project too.
wwwroot/favicon.svg
You can compile CSS files by running yarn gulp command in Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton folder.
If gulp isn't installed, you can use
npm install gulpcommand.
Then you need to run abp bundle command for your Blazor WebAssembly project to update blazor wasm bundles.
You're right. It seems it's a false positive exception. We'll prevent this issue in the next 7.1 patch release.
Since the check is done in the entity itself, unfortunately I can't provide a proper workaround until the next patch release.