Ends in:
7 DAYS
13 HRS
7 MIN
44 SEC
Ends in:
7 D
13 H
7 M
44 S
Open Closed

Template Web.Host project has wrong option entry for AbpVirtualFileSystemOptions #4711


User avatar
0
raif created
  • ABP Framework version: v7.0.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Steps to reproduce the issue:"
  • Create module from the template
  • For the sake of example modify menu item
    private static ApplicationMenuItem AddModuleMenuItem(MenuConfigurationContext context)
    {
        var l = context.GetLocalizer<TestModuleResource>();

        var moduleMenu = new ApplicationMenuItem(
            TestModuleMenus.Prefix,
            displayName: l["Menu:TestModule"],
            "~/TestModule",
            icon: "fa fa-globe");

        //Add main menu items.
        context.Menu.Items.AddIfNotContains(moduleMenu);
        return moduleMenu;
    }
  • Check localization json file if there is an entry under Domain.Shared layer
  • Launch application

I believe that it is related with virtual file configuration of the Web.Host template File path needs to be Domain.Shared not Domain


2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Thanks. I will fix this.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    I fixed it in the template, thanks a lot.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06