Reputation: 21
Skill doesn't respond to any questions asked from the Cortana, even though I am able to invoke the skill. While debugging, found it doesn't touch any break point, not even default activity handler. Does anyone have any idea what is happening?
Code: Echo Bot
public class EchoBot : ActivityHandler
{
protected override async Task OnMessageActivityAsync(ITurnContext<IMessageActivity> turnContext, CancellationToken cancellationToken)
{
var replyText = $"Echo: {turnContext.Activity.Text}";
await turnContext.SendActivityAsync(replyText, speak:replyText, inputHint: InputHints.ExpectingInput, cancellationToken);
}
}
I use an enterprise test account, would that have something to do with Cortana Skill?? Any suggestions would be much appreciated.
Upvotes: 1
Views: 29