microsoft / durabletask-mssql

Microsoft SQL storage provider for Durable Functions and the Durable Task Framework
MIT License
87 stars 32 forks source link

V2 Functions host fails to load when referencing SQL package #107

Closed cgillum closed 2 years ago

cgillum commented 2 years ago

When referencing this package in Functions V2, the following exception prevents the host from starting up:

DurableTask.SqlServer.AzureFunctions: Could not load file or assembly 'Microsoft.Extensions.DependencyInjection.Abstractions, Version=3.1.26.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified. System.Private.CoreLib: Could not load the specified file.

Although the Functions V2 host is no longer supported, there are still many V2 apps in production which would be impacted if this package were included in V2 or V3 extension bundles.

In order to be considered for V2 or V3 extension bundles (which are the only production extension bundles at the time of writing), the host must be able to start when referencing the DurableTask.SqlServer.AzureFunctions package.