您好!
我只是使用QnA Maker配置Azure聊天服务器服务(程序完全通过图形界面,无需更改代码)。 这些只是下面的两个程序,非常简单。
I just configure the Azure chatbot service using QnA Maker (procedure entirely by graphical interface, no need to change code). These are just the two procedures below, is very simple.
docs.microsoft/en-us/azure/cognitive-services/qnamaker/tutorials/create-publish-query-in -portal
docs.microsoft/en-us/azure/cognitive-services/qnamaker/tutorials/create-publish-query-in-portal
然后一切正常,但是我需要在代码中改变一些想法,所以我输入编译区代码(构建选项> 打开在线代码编辑器 ,通过Azure门户网站)我刚刚运行了"build.cmd"命令为"验证",并且程序使用 错误。 现在聊天服务器服务不再有效了。
因此,我在My Azure中排除了所有聊天机器人服务并再次创建了它。 聊天服务已经运行正常。 最后我回到编译代码并重新执行命令构建的选项(没有做任何事先原始代码中的更改)并给出了相同的错误。 我认为这是僵尸程序的新版本中的一个错误(SDK4 + C#) 在编译代码期间。
So I exclude all chat bot service in My Azure and created it all again. The chat service has been up and running fine. Finally I went back to the option to compile the code and re-executed the command build (without making any previous changes in the original code) and gave the same error. I think it's a bug in this new version of the bot (SDK4 + C #)during compile the code.
我不是程序员,所以我想知道是否有人已经看到这个错误或者知道如何解决它。
I am not a programmer so I would like to know if anyone has already seen this error or knows how to solve it please.
执行命令build.cmd后出现以下错误:
Below is the present error after executing the command build.cmd:
Tks !!
Tks!!
欢迎使用App Service Editor控制台 键入"help"以获取可用命令列表,或按"Ctrl + Space"获取帮助。输入"退出"关闭控制台。 \> build.cmd 1个文件被复制。 安装Kudu Sync D:\ local \ AppData \ npm \kudusync - > D:\local\AppData \\\pm \\\ode_modules \ kudusync \ bin \ kudusync + kudusync@0.3.0 在1.906s中更新了1个包 处理ASP.NET核心Web应用程序部署。 恢复在843.99毫秒内完成D:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ for .NET Core 版权所有(C)Microsoft Corporation。保留所有权利。 对于D:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\适用于入口点的主要方法[D:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ " QnABot.csproj" --output" D:\ local \Temp \ ___ deployTemp1254" - 配置发布 网站部署期间发生错误。
Welcome to the App Service Editor console Type 'help' for a list of available commands or press 'Ctrl+Space' for assist. Type 'exit' to close a console. \> build.cmd 1 file(s) copied. Installing Kudu Sync D:\local\AppData\npm\kudusync -> D:\local\AppData\npm\node_modules\kudusync\bin\kudusync + kudusync@0.3.0 updated 1 package in 1.906s Handling ASP.NET Core Web Application deployment. Restore completed in 843.99 ms for D:\home\site\wwwroot\QnABot.csproj. Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core Copyright (C) Microsoft Corporation. All rights reserved. Restore completed in 340.71 ms for D:\home\site\wwwroot\QnABot.csproj. CSC : error CS5001: Program does not contain a static 'Main' method suitable for an entry point [D:\home\site\wwwroot\QnABot.csproj] Failed exitCode=1, command=dotnet publish "QnABot.csproj" --output "D:\local\Temp\___deployTemp1254" --configuration Release An error has occurred during web site deployment.
推荐答案
Hello Bruno,
Hello Bruno,
是的,我们有另一个用户报告了这个 issue 。我们目前正在与我们的产品组进行核实,以解决此问题。我们会在收到更新后立即更新问题。
Yes, we have another user who has reported this issue. We are currently checking with our product group to get this addressed. We will update the issue with a fix as soon as we receive an update.
-Rohit
更多推荐
Erro在& quot; build.cmd& quot;编译聊天机器人Azure服务中的代码CSC:错误CS5001:程序不包
发布评论