You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for putting this together. However, when I run this, I get the following errors in my logs:
2017-11-03T04:15:46.887 run.csx(5,7): error CS0246: The type or namespace name 'MimeTypes' could not be found (are you missing a using directive or an assembly reference?)
2017-11-03T04:15:46.887 run.csx(81,12): error CS0103: The name 'MimeTypeMap' does not exist in the current context
Thanks!
Ahmet
The text was updated successfully, but these errors were encountered:
Probably not installed dependencies. Make sure you have the file "project.json" in the function folder { "frameworks": { "net46":{ "dependencies": { "MediaTypeMap": "2.1.0" } } } }
If you make an deploy with GitHub it should work the first time :)
If you are using https://github.com/khellang/MimeTypes you will find that this happens because that library uses auto-generated code. The type doesn't exist until it has been generated. You get this on a clean, before NuGet restore.
Thanks for putting this together. However, when I run this, I get the following errors in my logs:
2017-11-03T04:15:46.887 run.csx(5,7): error CS0246: The type or namespace name 'MimeTypes' could not be found (are you missing a using directive or an assembly reference?)
2017-11-03T04:15:46.887 run.csx(81,12): error CS0103: The name 'MimeTypeMap' does not exist in the current context
Thanks!
Ahmet
The text was updated successfully, but these errors were encountered: