Chatbot created through QnA Maker does not compile?

Milos Tomic 21 Reputation points
2021-06-02T16:19:43.847+00:00

I created a knowledge base through QnA maker and then followed the steps to create a chatbot.
The bot works, however when I download its source code and change something in the code, it won't compile. (even if I don't change anything)

I first do 'dotnet restore' and then 'dotnet build' but then it fails to build and the error message states that I don't have a main method. It seems it is missing
some files, this also fails in the online editor.

The error is identical to this one:
https://social.msdn.microsoft.com/Forums/en-US/cd019ddd-a03e-4191-a3da-2feaf51c2a8d/qna-maker-generated-bot-code-does-not-compile-locally?forum=MachineLearning
It still isn't fixed it seems.

Any help would be appreciated.

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
747 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,372 questions
{count} votes

Accepted answer
  1. romungi-MSFT 41,961 Reputation points Microsoft Employee
    2021-06-07T06:26:44.547+00:00

    @Milos Tomic A hot fix has been rolled out for the issue with missing files in the code download. Could you please check and verify if the code builds successfully without manually adding any files?

    EDIT: Please re-publish and re-deploy the bot before downloading the source code and building it.


0 additional answers

Sort by: Most helpful