Commit e902278
committed
fix: revert shared framework packages to 8.x for net8 Functions host compatibility
The Azure Functions host process runs on net8.0 and loads DurableTask extension
assemblies into its process. Packages like Microsoft.Extensions.*, Bcl.AsyncInterfaces,
and System.Text.Json are part of the .NET shared framework - the host only provides
version 8.0.0.0 of these assemblies.
PR #510 upgraded these to 10.x, which causes FileNotFoundException at runtime:
Could not load file or assembly 'Microsoft.Extensions.Options, Version=10.0.0.0'
This reverts the 11 shared-framework packages to 8.x while keeping all other
dependency upgrades (Grpc, Protobuf, Azure.Storage.Blobs, Azure.Identity, etc).
Packages reverted:
- Microsoft.Extensions.* (9 packages): 10.0.2 -> 8.x
- Microsoft.Bcl.AsyncInterfaces: 10.0.2 -> 8.0.0
- System.Text.Json: 10.0.2 -> 8.0.5
Test project fix:
- Generators.Tests: VersionOverride for DependencyInjection (net10 test project
needs 10.x via Functions.Worker transitive dep, safe since tests don't load
into the Functions host)
global.json: relaxed SDK version to match installed 10.0.1041 parent b7ade49 commit e902278
1 file changed
Lines changed: 16 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
11 | 17 | | |
12 | | - | |
13 | | - | |
| 18 | + | |
| 19 | + | |
14 | 20 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
20 | 26 | | |
21 | 27 | | |
22 | 28 | | |
| |||
82 | 88 | | |
83 | 89 | | |
84 | 90 | | |
85 | | - | |
| 91 | + | |
86 | 92 | | |
87 | | - | |
| 93 | + | |
88 | 94 | | |
89 | 95 | | |
90 | 96 | | |
| |||
0 commit comments