Azure Web作业运行命令设置不正确 [英] Azure Web Job Run Command Incorrectly Set

查看:69
本文介绍了Azure Web作业运行命令设置不正确的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个作为App Service运行的天蓝色网站,我从Visual Studio发布到Azure.我有多个Web作业都链接到主Web项目.

I have an azure website running as an App Service which I publish to Azure from Visual Studio. I have multiple webjobs which are all linked to the main web project.

当我添加一个新的webjob时,它失败了,因为附加了错误的RUN COMMAND.例如,Webjob QuarterHrsWebJob失败,因为它已通过"doctap.exe"的运行"命令以某种方式进行了设置. doctap.exe是属于另一个webjob的exe(称为doctap)-但也已以某种方式将其分配给QuarterHrsWebJob.

When I add a new webjob it fails because the wrong RUN COMMAND is attached to it. For instance, the webjob QuarterHrsWebJob fails because it has somehow been set up with a Run command of "doctap.exe". doctap.exe is the exe belonging to a different webjob (called doctap) - but somehow it has been assigned to QuarterHrsWebJob as well.

请参阅截图,其中显示QueryHrsWebJob的运行命令:doctap.exe".

See screenshot showing "Run command: doctap.exe" for the QueryHrsWebJob.

非常感谢您的帮助.

推荐答案

您是否对QueryHrsWebJob中包含doctab.exe的项目有项目引用?通过在两个Web作业之间创建类似的引用,我能够重现您遇到的问题.

Do you have a project reference to the project containing doctab.exe from the QueryHrsWebJob? I was able to reproduce the problem you are seeing by creating a similar reference between two Web Jobs.

如果没有这样的参考,能否请您共享受影响的Web作业和webjob-publish-settings.json文件的项目文件?

If you do not have a reference like this, could you please share the project file for both affected Web Jobs and your webjob-publish-settings.json files?

这篇关于Azure Web作业运行命令设置不正确的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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