Adding an Azure WebJob causes build to fail
Adding an Azure WebJob project will cause the AppVeyor build to fail.
It looks like the build is expecting an appveyor.pubxml file that isn't there:
The value for PublishProfile is set to 'appveyor',
expected to find the file at
'C:\projects\azurewebjobsample\WebJob1\Properties\PublishProfiles\appveyor.pubxml'
but it could not be found.
Any suggestions on how to get this working?
I have a sample project setup here if that helps.
https://ci.appveyor.com/project/JeffPapp/azurewebjobsample
Thanks,
Jeff
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 12 Nov, 2014 07:46 PM
Look at this workaround: http://help.appveyor.com/discussions/problems/977-deploy-web-job-us...
Our current issue is detecting WebJob projects inside the solution. Seems they are not using any specific project GUID. It looks like a regular console app, but VS somehow knows it's webjob.
2 Posted by jpapp on 14 Nov, 2014 04:24 PM
That workaround fixed our issue.
I did notice that if the
Microsoft.Web.WebJobs.Publish
nuget package isn't in the console app project then everything will build fine, but once that nuget package is added then it fails. I don't know if that could help to determine if it's a WebJob project.Support Staff 3 Posted by Feodor Fitsner on 14 Nov, 2014 05:20 PM
Thanks for the update!
That's an interesting observation. I'd never thought about such a "weak" dependency. Will take a look.
jpapp closed this discussion on 27 Jul, 2015 08:32 PM.