BLOBトリガーを使用するプリコンパイルされたAzure関数をデプロイしようとしています。 機能を公開した後、私はクーズーで次のエラーを持っているし、私の機能が実行されていない:私はこのエラーを持っている理由私は理解していないAzure関数プリコンパイルされた&Blobのトリガー:関数のタイプ名が無効です
2017-05-30T14:34:11.436 Starting Host (HostId=sfl-data-forecast-dev-funcs, Version=1.0.10945.0, ProcessId=17328, Debug=True, Attempt=0)
2017-05-30T14:34:11.436 Development settings applied
2017-05-30T14:34:11.436 No job functions found. Try making your job classes and methods public. If you're using binding extensions (e.g. ServiceBus, Timers, etc.) make sure you've called the registration method for the extension(s) in your startup code (e.g. config.UseServiceBus(), config.UseTimers(), etc.).
2017-05-30T14:34:11.436 Job host started
2017-05-30T14:34:11.436 The following 1 functions are in error:
Import: The function type name 'Forecasts.Functions.ImportForecastsFunction' is invalid.
。 Azure関数はフレームワーク4.6.1を対象とするWebプロジェクトにあります。 WebJob SDK、および拡張機能のnugetパッケージが追加されました。 Newtonsoft.Json
をバージョン9.01にダウングレードしましたが、何も変更されませんでした。
私は、次のfunction.json持っている:https://docs.microsoft.com/en-us/azure/architecture/best-practices/naming-conventionsによると
{
"scriptFile": "..\\bin\\SFL.Data.Forecasts.Functions.dll",
"entryPoint": "SFL.Data.Forecasts.Functions.ImportForecastsFunction.Run",
"bindings": [
{
"name": "file",
"type": "blobTrigger",
"direction": "in",
"path": "forecasts/{name}",
"connection": "HotStorageAccount.ConnectionString"
}
],
"disabled": false
}
(あなたのhost.jsonファイルがある関数スクリプトのルートフォルダから)あなたが持っているフォルダ構造を共有できますか? –