November Happy Hour will be moved to Thursday December 5th.

Module not found after adding Nafivation Menu

Vote:
 

Hi

After adding

@Html.CreatePlatformNavigationMenu()

I get exception:

ArgumentException: Unable to find a module by assembly 'Geta.Optimizely.Sitemaps, Version=3.0.3.0, Culture=neutral, PublicKeyToken=null' (Parameter 'moduleAssembly')
EPiServer.Shell.Paths.ToResource(Assembly moduleAssembly, string moduleRelativeResourcePath)
Geta.Optimizely.Sitemaps.MenuProvider.GetMenuItems()
System.Linq.Enumerable+SelectManySingleSelectorIterator<TSource, TResult>.MoveNext()
EPiServer.Shell.Navigation.MenuAssembler.GetMenuItems(string parentPath, int relativeDepth)
EPiServer.Shell.Navigation.MenuAssembler.GetMenuHierarchy(string rootPath, int relativeDepth, string selectionPath)
EPiServer.Shell.Web.Internal.NavigationService.GetCurrentProduct()
EPiServer.Shell.Web.Internal.NavigationService.GetCurrentProductId()
EPiServer.Shell.Navigation.MenuHelper.CreateMenuRootElement()
EPiServer.Shell.Navigation.MenuHelper.CreatePlatformNavigationMenu()
AspNetCoreGeneratedDocument.Views_Shared_Html_Head.<ExecuteAsync>b__9_0() in Html_Head.cshtml
+
    @Html.CreatePlatformNavigationMenu()

I have this package referenced by Nuget, added services.AddGetaCategories() and it seems that it registered in \modules\_protected\Geta.Optimizely.Sitemaps\Geta.Optimizely.Sitemaps.zip

#292844
Dec 08, 2022 9:07
Vote:
 

Try reinstall Geta.Optimizely.Sitemaps

#292851
Dec 08, 2022 10:42
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.