我正在尝试使用Azure函数设置依赖项注入,但是出于任何原因,我都无法启动Web作业启动方法。
[assembly: WebJobsStartup(typeof(PersonalBlog.Functions.Content.RefreshContentStartup))]
namespace PersonalBlog.Functions.Content {
public class RefreshContentStartup : IWebJobsStartup {
public void Configure(IWebJobsBuilder builder) { }
}
}
该项目是.net Framework 4.7.1,因为它依赖于一些尚未转换为点网核心的库...
我这里缺少什么吗?我是否需要添加一个设置才能在启动文件中使用它?