botbuilder-community-dotnet icon indicating copy to clipboard operation
botbuilder-community-dotnet copied to clipboard

Adaptive Cards reference too old for Bot.Builder.Community.Adapters.Alexa

Open ladeak opened this issue 7 months ago • 0 comments

I am using

Bot.Builder.Community.Adapters.Alexa Version=4.13.5 Microsoft.Bot.Builder.Dialogs Version=4.22.9 Microsoft.Bot.Builder.Integration.AspNet.Core Version=4.22.9

When updating the bot to 4.23.0 the Alexa integration starts to fail with not being able to load apative cards:

System.IO.FileNotFoundException: Could not load file or assembly 'AdaptiveCards, Version=2.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
File name: 'AdaptiveCards, Version=2.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
   at Bot.Builder.Community.Adapters.Shared.MarkdownToPlaintextRenderer.Render(String source)
   at Bot.Builder.Community.Adapters.Alexa.Core.AlexaRequestMapper.NormalizeActivityText(String textFormat, String text, Boolean forSsml)
   at Bot.Builder.Community.Adapters.Alexa.Core.AlexaRequestMapper.MergeActivities(IList`1 activities)
   at Bot.Builder.Community.Adapters.Alexa.AlexaAdapter.ProcessOutgoingActivities(List`1 activities)
   at Bot.Builder.Community.Adapters.Alexa.AlexaAdapter.ProcessAlexaRequestAsync(SkillRequest alexaRequest, BotCallbackHandler logic)
   at Bot.Builder.Community.Adapters.Alexa.AlexaAdapter.ProcessAsync(HttpRequest httpRequest, HttpResponse httpResponse, IBot bot, CancellationToken cancellationToken)

It seems the latest package requires AdaptiveCards 3.1.0 which is failing with Bot.Builder.Community.Adapters.Alexa

ladeak avatar May 30 '25 20:05 ladeak