Closed txt2203 closed 1 year ago
RequiredModuleTypes.Add(typeof(Xpand.XAF.Modules.Blazor.BlazorStartup)); //case 2
this line is invalid as per the error msg
my guess is u did not follow
Install the Xpand.XAF.Modules.Blazor package in the front end project and add: [assembly: HostingStartup(typeof(Xpand.XAF.Modules.Blazor.BlazorStartup))]
look at these lines
u probably not need the Hangfire or the Google lines
𝗗𝗲𝘀𝗰𝗿𝗶𝗯𝗲 𝘁𝗵𝗲 𝗯𝘂𝗴 I made simple project XAF Blazor .NET6 and add Xpand.XAF.Modules.Blazor.BlazorModule Case 1: When running the XAF Blazor project with Xpand.XAF.Modules.Blazor.BlazorModule =>Error : DevExpress.ExpressApp.Blazor.Services.ExceptionService: Error: Handled exception occurs System.InvalidOperationException: Install the Xpand.XAF.Modules.Blazor package in the front end project and add: [assembly: HostingStartup(typeof(Xpand.XAF.Modules.Blazor.BlazorStartup))]
So I add module BlazorStartup as case 2: Case 2: When running the XAF Blazor project with both Xpand.XAF.Modules.Blazor.BlazorModule, Xpand.XAF.Modules.Blazor.BlazorStartup => Error : Message: An error with the number 1008 has occurred. Error message: the 'Xpand.XAF.Modules.Blazor.BlazorStartup' type is not a descendant of 'DevExpress.ExpressApp.ModuleBase' (Parameter 'item')
𝗧𝗼 𝗥𝗲𝗽𝗿𝗼𝗱𝘂𝗰𝗲