Reputation: 28
I have 3 webjob projects on my application
Webjob A, B, and C
When running visual studio ci/cd I got this error on release for Webjob.A project
After some investigation I found out that zip files were created for webjob.B and webjob.C but not for webjob.A during publishing artefact.
Anyone have idea what the problem is?
Upvotes: 0
Views: 455
Reputation: 20067
Summary your comment to here to help others who have same issue.
Add the following line in webjob's .csproj file.
<Import Project="..\packages\Microsoft.Web.WebJobs.Publish.1.0.9\tools\webjobs.targets" Condition="Exists('..\packages\Microsoft.Web.WebJobs.Publish.1.0.9\tools\webjobs.targets')" />
Upvotes: 1