The target “MSDeployPublish” does not exist in the project

前端 未结 12 1622
夕颜
夕颜 2020-12-15 19:48

I know there have been other references to this issue. But I didn\'t upgrade from one version of VS to another. I am currently using VS 2013. The project builds fine, and ha

12条回答
  •  抹茶落季
    2020-12-15 20:05

    For those who are deploying a WebJob, this error might also be due to a missing webjob-publish-settings.json file (it should be located in the Properties folder of the WebJob project). Its structure should be e.g:

    {
      "$schema": "http://schemastore.org/schemas/json/webjob-publish-settings.json",
      "webJobName": "MyWebJob",
      "startTime": "2017-01-27T03:00:00+00:00",
      "endTime": null,
      "jobRecurrenceFrequency": "Hour",
      "interval": 1,
      "runMode": "Scheduled",
      "is_singleton": true
    }
    

    (this is for an hourly scheduled job).

提交回复
热议问题