Could not locate the bot implementation
I'm trying to follow Microsoft Learn module to implement search command on an existing app. However when I launch yo teams and follow these instructions:
Yeoman will launch and ask you a series of questions. Answer the questions with the following values:
"You are running the generator on an already existing project, "Planet Messaging", are you sure you want to continue?: Yes Do you want to change the current manifest version (1.10)?: No Quick scaffolding: Yes What features do you want to add to your project?: A Message Extension Command Where is your message extension hosted?: In a bot or Messaging Extension already defined in this project Choose which bot: {{MICROSOFT_APP_ID}} What type of messaging extension command?: Search based messaging extension Would you like a Settings option for the messaging extension?: No What is the name of your Message Extension command?: PlanetLookup Describe your Message Extension command?: Search for a planet"
I end up with this: "Unable to continue, as I could not locate the bot implementation Please verify that you have a valid Guid or a valid environment variable in your BotDeclaration."
I have succesfully completed the previous action messaging extension and it's working fine. What am I doing wrong? Any help is appreciated and also tell me if this is completely wrong place for these kind of questions.
@vvylikangas Always happy yo help! Would you mind sharing the version of the generator you are using?
Thank you @appieschot . Teams app generator is version 3.5.0
Let me see if I can replicate the issue
This error happens when the generator is using the AST to find the existing bot implementation - that is it expects you to already have created a bot (or another messaging extension) in the project.
Closing due to inactivity