@King Java Thanks for your time over offline discussion.
I am summarizing our discussion and posting the same as an Answer to help the other customers who might be facing this issue.
Issue:
Upon checking further, we see that customer is not able to see the App Service (either Windows or Linux) option in their publish wizard and Customer want to publish their webjob through Visual studio only.
Troubleshooting done :
To Isolate the issue customer has create a sample asp.net application and when they are tried to publish this sample application they can see the App service option but they are not seeing this app service option when they tried to publish this web job.
This moreover seems to be a application code framework compatibility issue with current visual studio not an issue with app service.
Solution Suggested:
- I have suggested the customer to publish the webjob code to their local folder and zip it.
- Create a new webjob in the app service, upload the webjob code using the upload option.
Customer has tried the above steps; they have confirmed that they are able to publish and run the webjobs successfully.
I hope the answer helps. Please let me know if you have any further queries.
Please accept as Yes if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues.