visual-studio-2015 - Visual Studio 2015 发布 WebJobs 问题

标签 visual-studio-2015 azure-webjobs

使用 VisualStudio 2015 中的右键单击,发布为 Azure WebJob... 选项,该作业已发布,但 runMode 似乎被忽略。

在我的文件中,我有以下设置,但是在发布后,该作业在门户中不断设置为按需作业:

{
  "$schema": "http://schemastore.org/schemas/json/webjob-publish-settings.json",
  "webJobName": "MyJob",
  "startTime": "2015-07-21T00:30:00-08:00",
  "endTime": null,
  "jobRecurrenceFrequency": "Day",
  "interval": 1,
  "runMode": "Scheduled"
}

将 Visual Studio 2015 与适用于 .NET 2.7 的 Azure SDK 结合使用

这是发布后输出窗口中的错误
错误:创建 WebJob 计划时出错:无法从程序集“Microsoft.IdentityModel.Clients.ActiveDirectory, Version=2.16.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”中加载类型“Microsoft.IdentityModel.Clients.ActiveDirectory.ActiveDirectoryAuthenticationException” '。

最佳答案

基于错误,问题是您必须在 Visual Studio 中登录到 Cloud Explorer 才能正确安排作业。

如果您未登录,该作业仍将发布,但只能按需使用。

关于visual-studio-2015 - Visual Studio 2015 发布 WebJobs 问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31590059/

相关文章:

c# - session 的 Azure WebJob ServiceBusTrigger

visual-studio - Visual Studio 2015 中的项目位置

c++ - 为什么 std::numeric_limits<long long>::max() 会失败?

azure - 使用 ffMpeg 转换 Azure Webjob 中的视频文件

c# - Azure WebJob QueueTrigger 得到DeleteMessage后怎么办?

azure - 查看本地 Azure Webjobs SDK 仪表板以调试 WebJobs SDK 控制台进程

debugging - VS 2015 Update 2 - 调试时变量不存在,为什么?

c++ - 有什么方法可以在打开应用程序的 VS 中将批处理文件作为构建后事件运行?

visual-studio - 如何使用 Roslyn Workspace 预编译项目

azure - 在azure门户中创建调度程序时出现"Can not find subscription"错误