azure bot framework adaptive dialog exception turn does not match memory scopes Parameter key Edit

Murugan Andezuthu Dharmaratnam | 02 November 2021 | 774

Exception :

'turn' does not match memory scopes:[] (Parameter 'key')

Solution

Add Namespace 

using Microsoft.Bot.Builder.Dialogs;

Add Obsolete & ComponentRegistration.Add

        [System.Obsolete]
        public void ConfigureServices(IServiceCollection services)
        {
         ......

         ComponentRegistration.Add(new DialogsComponentRegistration());
         }