机器人发布失败,使用-2147450740 [英] bot publish fails with -2147450740

查看:182
本文介绍了机器人发布失败,使用-2147450740的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到了我在Azure上创建的默认echo chat bot的错误。下载源代码并尝试发布。请注意,构建和连接测试都可以正常工作。它在我尝试发布时是因为它失败
时出现以下错误。代码尚未修改,直接来自门户网站。


错误命令"" dotnet" exec --runtimeconfig" C:\ Data\XXXXBOT001\bin\Release\\\
etcoreapp2.0\EchoBotWithCounter.runtimeconfig.json" --depsfile" C:\Data\
XXXXBOT001 \ bin\Release\\\
etcoreapp2.0\EchoBotWithCounter.deps.json"
" C:\Program Files \dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.mvc.razor.viewcompilation\2.0.4\build\\\
etstandard2.0\Microsoft.AspNetCore .Mvc.Razor.ViewCompilation.dll" @" obj\Release\\\
etcoreapp2.0\microsoft.aspnetcore.mvc.razor.viewcompilation.rsp""
退出,代码为-2147450740。 


这是一个许可问题吗?有什么好主意吗?


提前致谢,你好b $ b杰克。 







解决方案

ok ...这是错误当我从cmd线运行时


   未找到应用程序依赖项清单(BasicBot.deps.json)中指定的程序集:

     包:'Microsoft.Azure.CognitiveServices.ContentModerator',版本:'0.12.1-preview'

     路径:'lib / netstandard1.4 / Microsoft.Azure.CognitiveServices.ContentModerator.dll'


任何想法?



I am getting this error for the default echo chat bot that I have created fresh on Azure. Downloaded the source code and attempting a publish. Please note that the build and connection test all work fine. Its when I am trying to do a publish is when it fails with the following error. The code has not been modified and is straight from the portal.

Error The command ""dotnet" exec --runtimeconfig "C:\Data\XXXXBOT001\bin\Release\netcoreapp2.0\EchoBotWithCounter.runtimeconfig.json" --depsfile "C:\Data\XXXXBOT001\bin\Release\netcoreapp2.0\EchoBotWithCounter.deps.json" "C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.mvc.razor.viewcompilation\2.0.4\build\netstandard2.0\Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.dll" @"obj\Release\netcoreapp2.0\microsoft.aspnetcore.mvc.razor.viewcompilation.rsp"" exited with code -2147450740. 

Is it a permission issue somehow? Any idea?

Thanks in advance,
Jake. 



解决方案

ok...this is the error when I run it from the cmd line

    An assembly specified in the application dependencies manifest (BasicBot.deps.json) was not found:
      package: 'Microsoft.Azure.CognitiveServices.ContentModerator', version: '0.12.1-preview'
      path: 'lib/netstandard1.4/Microsoft.Azure.CognitiveServices.ContentModerator.dll'

Any ideas?


这篇关于机器人发布失败,使用-2147450740的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆