s

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

author
Murugan Andezuthu Dharmaratnam | calendar 02 November 2021 | 1711

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());
         }