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

How to ensure Bot composer bot with Azure function runtime is upgraded from .NET core 3.1 #9659

Open mahes-a opened 8 months ago

mahes-a commented 8 months ago

Creating an Empty bot with function app as runtime defaults to .NET core 3.1 and which is now obsolete. How to upgrade the bot target framework

I tried below but it does not work.

1.Opened the solution is Visual studio and updated the target framework as.Net 6.0.

  1. Re-opened the bot via bot composer and set the custom runtime to net6.0 in the configure section.
  2. The bot throws, and error message is "An error occurred posting activity to the bot. Internal Server Error."

func start --script-root bin\Debug\net6.0

douglasware commented 8 months ago

See this related issue: https://github.com/microsoft/BotFramework-Composer/issues/9639. The project needs to update to use a supported runtime.