microsoft / BotFramework-Composer

Dialog creation and management for Microsoft Bot Framework Applications
https://docs.microsoft.com/en-us/composer/
MIT License
860 stars 366 forks source link

System.AggregateException: 'Could not load file or assembly 'Microsoft.Bot.Components.Recognizers.CLURecognizer, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.' #9672

Closed varMrHYDRA closed 6 months ago

varMrHYDRA commented 7 months ago

I am unable to dubug this issue,I have developed CLU bot in Framework composer. I am getting error in startup.cs file image image

varMrHYDRA commented 7 months ago

System.AggregateException HResult=0x80131500 Message=Encountered exceptions while loading bot components. (Could not load file or assembly 'Microsoft.Bot.Components.Recognizers.CLURecognizer, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.) Source=Microsoft.Bot.Builder.Dialogs.Adaptive.Runtime StackTrace: at Microsoft.Bot.Builder.Dialogs.Adaptive.Runtime.Extensions.ServiceCollectionExtensions.AddBotRuntimeComponents(IServiceCollection services, IConfiguration configuration) at Microsoft.Bot.Builder.Dialogs.Adaptive.Runtime.Extensions.ServiceCollectionExtensions.AddBotRuntime(IServiceCollection services, IConfiguration configuration) at C3PO_PS.Startup.ConfigureServices(IServiceCollection services) in C:\path\C3PO_PS\Startup.cs:line 28 at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.InvokeCore(Object instance, IServiceCollection services) at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.<>cDisplayClass9_0.gStartup|0(IServiceCollection serviceCollection) at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.Invoke(Object instance, IServiceCollection services) at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.<>cDisplayClass8_0.b0(IServiceCollection services) at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.UseStartup(Type startupType, HostBuilderContext context, IServiceCollection services)

This exception was originally thrown at this call stack: [External Code]

Inner Exception 1: FileNotFoundException: Could not load file or assembly 'Microsoft.Bot.Components.Recognizers.CLURecognizer, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

tracyboehrer commented 6 months ago

Duplicate of https://github.com/microsoft/BotFramework-Composer/issues/9671