-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request to Update Target Framework for Microsoft.Extensions.AI.Abstractions #110039
Comments
It isn't needed. Any package supporting .NET Framework 4.6.2 is supporting .NET Framework 4.7.2. The warning message means you aren't targeting .NET Framework 4.7.2 in your project, but other .NET Standard compatible frameworks. I can't reproduce it on a fresh .NET Framework 4.7.2 project. |
The package lives in https://github.com/dotnet/extensions , though it can also be helpful to discuss in this repo. You can navigate with "Source repository" link on nuget.org. |
Hi @huoyaoyuan thanks for sharing, but this is our error: |
It's better to collect msbuild binlog to see what happens. Note that it would contain information about your project and source code. |
Hi @huoyaoyuan, we are using the old .NET Framework project:
|
It looks strange. Looking through the package content of Microsoft.Extensions.AI.Abstractions, it doesn't contain msbuild targets for the target framework validation logic. Can you confirm which |
Hi @huoyaoyuan, the
|
Yes, I actually came from the 'Source repository' link. However, when I created the issue, I selected 'Issue with .NET runtime or core .NET libraries,' which redirected me here. I can move the issue to the |
OK I looked closely into the version. The warning was present in the previous version
"Core" means libraries under |
Description
Hi Team,
We noticed that the latest release of Microsoft.Extensions.AI.Abstractions targets .NET Framework 4.6.2. However, .NET Framework 4.6.2 will reach end of support on January 12, 2027. https://learn.microsoft.com/en-us/lifecycle/products/microsoft-net-framework
Our project uses .NET Framework 4.7.2, which has long-term support, but we are currently blocked from using this package due to the lack of target platform support for .NET Framework 4.7.2.
Could you please update the target framework to .NET Framework 4.7.2 in future releases to ensure compatibility with our project and other similar scenarios?
Thank you for your consideration!
Reproduction Steps
Add
Microsoft.Extensions.AI.Abstractions
to a .NET Framework 4.7.2 projectExpected behavior
Microsoft.Extensions.AI.Abstractions
targets .NET Framework 4.7.2Actual behavior
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered: