|
9 | 9 |
|
10 | 10 | <!-- Microsoft.Extensions.* Packages |
11 | 11 | IMPORTANT: These assemblies are part of the .NET shared framework and load into the |
12 | | - Azure Functions host process, which runs on net8.0. Package versions MUST stay at 8.x |
13 | | - so the assembly versions (8.0.0.0) match what the host provides. Using 10.x causes |
14 | | - FileNotFoundException at runtime because the host cannot satisfy Version=10.0.0.0. |
15 | | - DO NOT upgrade to 10.x+ until the Azure Functions host itself targets .NET 10. |
16 | | - See: https://github.com/Azure/azure-functions-host (WebJobs.Script.csproj -> net8.0) --> |
| 12 | + Azure Functions host process. Historically the host ran on net8.0 and required the |
| 13 | + package versions to stay at 8.x so the assembly versions (8.0.0.0) matched what the |
| 14 | + host provided; using 10.x caused FileNotFoundException at runtime. |
| 15 | + As of azure-functions-host v4.1049.x the host targets net10.0 and ships 9.x/10.x |
| 16 | + shared-framework assemblies via runtimeassemblies-relaxed.json (minorMatchOrLower), |
| 17 | + so 9.x package versions are now safe. |
| 18 | + See: https://github.com/Azure/azure-functions-host (WebJobs.Script.csproj -> net10.0) --> |
17 | 19 | <ItemGroup> |
18 | 20 | <PackageVersion Include="Microsoft.Extensions.Caching.Memory" Version="8.0.1" /> |
19 | 21 | <PackageVersion Include="Microsoft.Extensions.Configuration.Abstractions" Version="8.0.0" /> |
20 | 22 | <PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="10.0.2" /> |
21 | | - <PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.2" /> |
| 23 | + <PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.1" /> |
22 | 24 | <PackageVersion Include="Microsoft.Extensions.Hosting" Version="8.0.1" /> |
23 | 25 | <PackageVersion Include="Microsoft.Extensions.Hosting.Abstractions" Version="8.0.1" /> |
24 | 26 | <PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.3" /> |
|
88 | 90 | <PackageVersion Include="DotNext" Version="4.13.1" Condition="'$(TargetFramework)' != 'net8.0' AND '$(TargetFramework)' != 'net10.0'" /> |
89 | 91 | <PackageVersion Include="DotNext" Version="5.19.0" Condition="'$(TargetFramework)' == 'net8.0' OR '$(TargetFramework)' == 'net10.0'" /> |
90 | 92 | <PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" /> |
91 | | - <PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="8.0.0" /> |
| 93 | + <PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="9.0.1" /> |
92 | 94 | <PackageVersion Include="System.Linq.Async" Version="6.0.1" /> |
93 | 95 | <PackageVersion Include="System.Text.Json" Version="8.0.6" /> |
94 | 96 | <PackageVersion Include="System.Collections.Immutable" Version="8.0.0" /> |
|
0 commit comments