Reputation: 841
I am trying to deploy webjob using web application with specific build mode.
Say for example,
Publishing my web application in Release
mode. But, webjob project associated with my webapp is built using default Debug
mode.
{
"$schema": "http://schemastore.org/schemas/json/webjobs-list.json",
"WebJobs": [
{
"filePath": "../../SampleWebJobProject/SampleWebJobProject.csproj" // I need to set build mode for this project
}
]
}
Is there anyway to explicitly mention the build mode for my webjob project?
Upvotes: 0
Views: 95
Reputation: 20067
I test in my site and when I follow this tutorial to deploy webjob, the webjob using Release
build mode as default. So if you still deploy with Debug
mode, just manually change it to Release
.
The webjobs-list.json
only contain WebJobs projects of webapp.
Upvotes: 1