Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kuan2019 opened this issue Jun 11, 2024 · 0 comments

Comments

@kuan2019
Copy link

kuan2019 commented Jun 11, 2024

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,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant