The 1.0.0 release of the Microsoft.AI.Foundry.Local NuGet package targets net9.0 only:
|
<TargetFramework>net9.0</TargetFramework> |
This configuration prevents the package from being consumed in projects that target .NET 8.0—a supported LTS version of .NET until November 10th (per https://dotnet.microsoft.com/platform/support/policy#dotnet-core). Note that .NET 9.0 becomes unsupported at that time too. For a customer trying to use this package in a .NET 8.0 project, the acquisition experience in Visual Studio is this:
Consider revisiting the framework targeting strategy to accommodate more versions and flavors of .NET. For inspiration, here's how the Azure SDK team approaches this problem: https://azure.github.io/azure-sdk/dotnet_introduction.html#target-frameworks.
The 1.0.0 release of the
Microsoft.AI.Foundry.LocalNuGet package targetsnet9.0only:Foundry-Local/sdk/cs/src/Microsoft.AI.Foundry.Local.csproj
Line 16 in d8cada4
This configuration prevents the package from being consumed in projects that target .NET 8.0—a supported LTS version of .NET until November 10th (per https://dotnet.microsoft.com/platform/support/policy#dotnet-core). Note that .NET 9.0 becomes unsupported at that time too. For a customer trying to use this package in a .NET 8.0 project, the acquisition experience in Visual Studio is this:
Consider revisiting the framework targeting strategy to accommodate more versions and flavors of .NET. For inspiration, here's how the Azure SDK team approaches this problem: https://azure.github.io/azure-sdk/dotnet_introduction.html#target-frameworks.