Reputation: 3615
I have written a console application. This app has a number of references to external libraries (some are .Net libraries and some are custom libraries). When I build the app, it includes a number of DLLs. I then zip this file and try to upload it to Azure WebJobs but the upload fails. If I remove all of the DLL files from the zip file, it will upload just fine (but can't run do to the missing DLL files). Also, if I try to upload just a DLL file, I get an error saying:
File extension for Json.Net.dll is not present in the allowed file extensions list - "cmd,bat,exe,ps1,sh,php,py,js,jar,zip"
It seems WebJobs blocks DLL files. How do I create a WebJob if it requires DLL files? My Azure admin says if there is an approval list to allow these file types; they can add the extension but they don't see a way to do so. Is this something that can be added in Azure?
Upvotes: 0
Views: 1291
Reputation: 30025
Azure webjobs definitely supports the zip file contains .dll file, I just have a test at my side, upload a zip file which contains .dll files. And it can be uploads to azure webjobs and works well.
Maybe there are some problems with your azure environment, you'd better submit a support ticket to the azure team, by following this steps.
The screenshot below is the zip file at my side.
Upvotes: 0