SciSharp/BotSharp

Unhandled exception. System.TypeLoadException: Method 'ActiveUser' in type 'BotSharp.Core.Users.Services.UserService'

kuan2019 opened this issue · 0 comments

Hi,
I use .NET 8.0 and the command is 'dotnet run --project ./src/WebStarter/WebStarter.csproj -p SolutionName=PizzaBot
' to build and run the sample PizzaBot, after compiling pass then I have no idea why get an exception as below?

Unhandled exception. System.TypeLoadException: Method 'ActiveUser' in type 'BotSharp.Core.Users.Services.UserService' from assembly 'BotSharp.Core, Version=1.5.1.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
at BotSharp.Core.BotSharpCoreExtensions.AddBotSharpCore(IServiceCollection services, IConfiguration config, Action`1 configOptions)
at Program.

$(String[] args) in /eric.hu/BotSharp-master/src/WebStarter/Program.cs:line 32

  • Operation System: MacOS Sonoma 14.4(23E214)
  • DotNET Version: 8.0
  • BotSharp Branch: master

best regards,